Skip to content

Commit

Permalink
feat(observability-pipeline): set resource attribute for installation…
Browse files Browse the repository at this point in the history
… id (#426)

## Which problem is this PR solving?

- improves beekeeper telemetry by adding a resource attribute for
pipeline installation ID.

## Short description of the changes

- rename some leftover control-plane instances
- fix typo in file name
- add `OTEL_RESOURCE_ATTRIBUTES` env var when telemetry is enabled.

## How to verify that this has the expected result

Tested locally
  • Loading branch information
TylerHelmuth authored Feb 6, 2025
1 parent 1e5e480 commit 718840b
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/observability-pipeline/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: observability-pipeline
description: Chart to deploy both OpenTelemetry Collector and Honeycomb Refinery
type: application
version: 0.0.12-alpha
version: 0.0.13-alpha
appVersion: 0.0.1-alpha
keywords:
- refinery
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ spec:
value: {{ .Values.beekeeper.pipelineInstallationID }}
- name: HONEYCOMB_MGMT_API_KEY
value: {{ .Values.beekeeper.publicMgmtKey }}
{{- if .Values.beekeeper.telemetry.enabled }}
- name: OTEL_RESOURCE_ATTRIBUTES
value: pipelineInstallationID={{ .Values.beekeeper.pipelineInstallationID }}
{{- end }}
{{- with .Values.beekeeper.environment }}
{{- toYaml . | nindent 12 }}
{{- end }}
Expand Down

0 comments on commit 718840b

Please sign in to comment.