Skip to content

Commit 02f2fc3

Browse files
Add spec for Universal Profiling Symbolizer (#2401)
Signed-off-by: Florian Lehner <florian.lehner@elastic.co> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 parent bf7f9f5 commit 02f2fc3

File tree

5 files changed

+50
-0
lines changed

5 files changed

+50
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Kind can be one of:
2+
# - breaking-change: a change to previously-documented behavior
3+
# - deprecation: functionality that is being removed in a later release
4+
# - bug-fix: fixes a problem in a previous version
5+
# - enhancement: extends functionality but does not break or fix existing behavior
6+
# - feature: new functionality
7+
# - known-issue: problems that we are aware of in a given version
8+
# - security: impacts on the security of a product or a user’s deployment.
9+
# - upgrade: important information for someone upgrading from a prior version
10+
# - other: does not fit into any of the other categories
11+
kind: feature
12+
13+
# Change summary; a 80ish characters long description of the change.
14+
summary: Add Universal Profiling Symbolizer
15+
16+
# Long description; in case the summary is not enough to describe the change
17+
# this field accommodate a description without length limits.
18+
# NOTE: This field will be rendered only for breaking-change and known-issue kinds at the moment.
19+
#description:
20+
21+
# Affected component; a word indicating the component this changeset affects.
22+
component: spec
23+
24+
# PR URL; optional; the PR number that added the changeset.
25+
# If not present is automatically filled by the tooling finding the PR where this changelog fragment has been added.
26+
# NOTE: the tooling supports backports, so it's able to fill the original PR number instead of the backport PR number.
27+
# Please provide it if you are adding a fragment for a different PR.
28+
pr: https://github.com/elastic/elastic-agent/pull/2401
29+
30+
# Issue URL; optional; the GitHub issue related to this changeset (either closes or is part of).
31+
# If not present is automatically filled by the tooling with the issue linked to the PR number.
32+
#issue: https://github.com/owner/repo/1234

dev-tools/packaging/templates/docker/Dockerfile.elastic-agent.tmpl

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ RUN mkdir -p {{ $beatHome }}/data {{ $beatHome }}/data/elastic-agent-{{ commit_s
2323
(chmod 0755 {{ $beatHome }}/data/elastic-agent-*/components/endpoint-security || true) && \
2424
(chmod 0755 {{ $beatHome }}/data/elastic-agent-*/components/fleet-server || true) && \
2525
(chmod 0755 {{ $beatHome }}/data/elastic-agent-*/components/elastic-agent-shipper || true) && \
26+
(chmod 0755 {{ $beatHome }}/data/elastic-agent-*/components/pf-elastic-symbolizer || true) && \
2627
(chmod 0755 {{ $beatHome }}/data/elastic-agent-*/components/pf-host-agent || true) && \
2728
find {{ $beatHome }}/data/elastic-agent-{{ commit_short }}/components -name "*.yml*" -type f -exec chown root:root {} \; && \
2829
find {{ $beatHome }}/data/elastic-agent-{{ commit_short }}/components -name "*.yml*" -type f -exec chmod 0644 {} \; && \

magefile.go

+1
Original file line numberDiff line numberDiff line change
@@ -778,6 +778,7 @@ func packageAgent(platforms []string, packagingFn func()) {
778778
"apm-server",
779779
"endpoint-security",
780780
"fleet-server",
781+
"pf-elastic-symbolizer",
781782
"pf-host-agent",
782783
}
783784

pkg/component/load_test.go

+4
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ func TestLoadSpec_Components(t *testing.T) {
8585
Name: "Packetbeat",
8686
Path: "packetbeat.spec.yml",
8787
},
88+
{
89+
Name: "Universal Profiling Symbolizer",
90+
Path: "pf-elastic-symbolizer.spec.yml",
91+
},
8892
{
8993
Name: "Universal Profiling Agent",
9094
Path: "pf-host-agent.spec.yml",

specs/pf-elastic-symbolizer.spec.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version: 2
2+
inputs:
3+
- name: pf-elastic-symbolizer
4+
description: "Universal Profiling Symbolizer"
5+
platforms:
6+
- linux/amd64
7+
- linux/arm64
8+
outputs:
9+
- elasticsearch
10+
command:
11+
args:
12+
- "-elastic"

0 commit comments

Comments
 (0)