From 4ea6888158827fd3fb87b3bb6e806aaddf78bc86 Mon Sep 17 00:00:00 2001 From: Yingrong Zhao <22300958+VinozzZ@users.noreply.github.com> Date: Tue, 18 Feb 2025 18:45:15 -0500 Subject: [PATCH] feat(observability-pipeline): add agent identification attributes for collector (#429) ## Which problem is this PR solving? Beekeeper uses identification attribute in AgentDescription to differentiate different agent types. This PR adds it for collector. ## Short description of the changes - add `identifying_attributes` for collector config ## How to verify that this has the expected result local testing --- charts/observability-pipeline/Chart.yaml | 2 +- charts/observability-pipeline/templates/_helpers.tpl | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/observability-pipeline/Chart.yaml b/charts/observability-pipeline/Chart.yaml index ff112f3..e01016d 100644 --- a/charts/observability-pipeline/Chart.yaml +++ b/charts/observability-pipeline/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: observability-pipeline description: Chart to deploy both OpenTelemetry Collector and Honeycomb Refinery type: application -version: 0.0.13-alpha +version: 0.0.14-alpha appVersion: 0.0.1-alpha keywords: - refinery diff --git a/charts/observability-pipeline/templates/_helpers.tpl b/charts/observability-pipeline/templates/_helpers.tpl index d8660b4..20d03b1 100644 --- a/charts/observability-pipeline/templates/_helpers.tpl +++ b/charts/observability-pipeline/templates/_helpers.tpl @@ -98,6 +98,10 @@ capabilities: agent: executable: /otelcol-contrib + description: + identifying_attributes: + service.name: collector + storage: directory: /var/lib/otelcol/supervisor