Skip to content

Instantly share code, notes, and snippets.

@bixu
Last active November 28, 2025 21:40
Show Gist options
  • Select an option

  • Save bixu/e5b2df95db97fe73329e042166004815 to your computer and use it in GitHub Desktop.

Select an option

Save bixu/e5b2df95db97fe73329e042166004815 to your computer and use it in GitHub Desktop.
Berlin Otel Night
# CORRECTION #
# I mistakenly confused otelbin and ottl.run during my talk.
# https://ottl.run << interactive online OTTL statement tester. Extremely helpful!
# https://www.otelbin.io << interctive online Otel _pipeline_ vizualizer. Also neat, but not for OTTL :)
# CORRECTION #
### Presenter metadata ###################################################################
# Blake Irvin | @bixu on GitHub | @bixu.bsky.social | linkedin.com/in/blakeirvin #
##########################################################################################
# `telemetrygen` pod template
---
{{ if .Values.ci.telemetrygen.enabled }}
apiVersion: apps/v1
kind: Deployment
spec:
containers:
- name: telemetrygen-metric-high-cardinality-attribute
image: ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen:latest
env:
- name: OTEL_RESOURCE_ATTRIBUTES
value: 'environment=ci,service.name=pytest,telemetry.sdk.name=opentelemetry'
args:
- 'metrics'
- '--otlp-metric-name=otel_metric_high_cardinality_attribute'
- '--duration=inf'
- '--interval=1s'
- '--otlp-endpoint=otel-collector.{{ .Release.Namespace }}.svc.cluster.local:4318'
- '--otlp-http'
- '--otlp-insecure'
- '--rate=1'
- '--telemetry-attributes=http_target="/api/v1/resource/id/1234567890"'
{{ end }}
# Renovate Collector charts config
---
"packageRules": [
{
"matchManagers": ["github-actions"],
"labels": ["actions"],
"groupName": "github-actions",
"semanticCommitType": "ci"
},
{
"matchFileNames": ["<chart_dir>/otel-collector-<flavor>/**"],
"groupName": "opentelemetry-collector-<flavor>",
"semanticCommitScope": "otel-collector-<flavor>",
"prTitle": "Collector <flavor>: {{depName}} from {{currentVersion}} to {{newVersion}}"
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment