otel-collector

by funkypenguin

Helm chartv1.2.2App 0.46.0Verified publisher

OpenTelemetry collector helm package

About this chart

otel-collector

OpenTelemetry collector helm package

Homepage: https://github.com/k8s-at-home/charts/tree/master/charts/stable/otel-collector

Maintainers

NameEmailUrl
mterhar[email protected]

Source Code

Requirements

Kubernetes: >=1.16.0-0

RepositoryNameVersion
https://library-charts.k8s-at-home.comcommon4.3.0

Values

KeyTypeDefaultDescription
configFilestringnilCreate a new secret with the following multi-line spec which gets mounted to /conf/otel-collector-config.yaml. For more information, see the otel docs
configFileSecretstringnilConfigure the open telemetry secret using an existing secret or create a configuration file using the configFile below The secret needs a single key inside it called otelConfigFile
image.pullPolicystring"IfNotPresent"image pull policy
image.repositorystring"otel/opentelemetry-collector-contrib"image repository
image.tagstringnilimage tag
ingress.mainobjectdisabledEnable and configure ingress settings for the chart under this key. This OTEL Collector is built to trust items within the same cluster so exposing externally will allow unauthenticated traces to be processed.
metrics.enabledboolenabled: false is set so it can scrape itself butConfigure Prometheus serviceMonitor for the built-in exporter. circular dependencies are never good enable this for a secondary scraper
metrics.prometheusRuleobjectSee values.yamlEnable and configure Prometheus Rules for the chart under this key.
metrics.prometheusRule.ruleslistSee prometheusrules.yamlConfigure additionial rules for the chart under this key.
metrics.serviceMonitor.intervalstring"3m"
metrics.serviceMonitor.labelsobject{}
metrics.serviceMonitor.scrapeTimeoutstring"1m"
probesobjectexpects config to include extensions:health_check:endpoint: 0.0.0.0:13133probes is configured to use an otel extension to get health information from the pod
serviceobjectThe defaults expose the services needed to receive http and otlp tracesConfigures service settings for the chart.
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.createboolfalseSpecifies whether a service account should be created
serviceAccount.namestring""The name of the service account to use. If not set and create is true, a name is generated using the fullname template

Autogenerated from chart metadata using helm-docs v1.7.0

Deploy otel-collector with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has otel-collector on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartotel-collector is pinned at v1.2.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply