Repository navigation
Conversation
4b25285 to
8ce1101
Compare
8ce1101 to
f0a11c0
Compare
|
With this next try I am now using the upstream image from otel/opentelemetry-collector-contrib . However, I also adapted the loggregator-agent release helm chart so it includes the otel-collector. This is necessary as the forwarder-agent currently only forwards to localhost. Alternatively one could adapt the forwarder agent to send OTLP to other locations as well. However, when we think about going that route we could also add a proper cloudfoundry loggregator envelope receiver to the otel-collector as well. I consider this out of scope for now. |
Does it make sense to add a test for that? |
Uses upstream helm chart but our own otel distro * Also configures healthcheck for otel collector
otel-collector is still experimental and should not be deployed by default
Re-use the upstream otel/opentelemetry-collector-contrib image instead of the CF-maintained distro. Drops the cross-repo deps on cf-k8s-releases#230 and otel-collector-release#263 — the contrib image already bundles health_check. - Replace CF distro image + custom command with otel/opentelemetry-collector-contrib - Add mTLS OTLP receiver (otlp/cf-internal-local, grpc 0.0.0.0:4317, TLS 1.3) mirroring the BOSH otel-collector-release job, using all-in-one-tls secret - Mount all-in-one-tls at /etc/otel/certs (extraVolumes/extraVolumeMounts) - Add otlp exporter targeting configurable exportEndpoint (default: host.docker.internal:4317) - Document config lineage in comment pointing to upstream chart values.yaml - Drop imageTag from versions.yaml; add exportEndpoint value Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
forwarder-agent only sends to localhost right now
Moved enabled and exportEndpoint under otelCollector in values.yaml.gotmpl
712d8b7 to
aac58b4
Compare
aac58b4 to
31c28b4
Compare
|
Implemented what we had discussed in cloudfoundry/cf-k8s-releases#230 (comment) . Also moved the otel config into dedicated template file to follow usual conventions. |
Adds the otel-collector to kind deployment as its commonly used in cloudfoundry already. Deployment of otel-collector is opt-in for now.
Requires cloudfoundry/cf-k8s-releases#230 (CI currently failing due to that).
I verified locally that I am able to send otlp traffic to
otelCollector.exportEndpointvia:and internal otel-collector:
Drafted by an AI coding harness, carefully reviewed.