You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi - This is the first time trying to integrate OTel collector and application in kubernetes, earlier have integrated in local without containerisation. I tried deploying the demo chart but most of the containers are not running and I keep getting one or the other issue. So planning to integrate my application pod with the collector. Please advise if the below approach will work or any suggestions.
Install kubernetes operator and collector chart what is provided in this repo.
Install Prometheus , Grafana and Jaeger helm's as standalone deployment. (Its supported in demo since the chart fails , planning to deploy it independent pieces)
Deploy my hello-world java application pod with java opentelemetry agent and configure with OTLP collector endpoint as 10.42.0.166:4318. Since my Otel collector listens for HTTP on 4318
2024-05-02T08:04:15.060Z info [email protected]/otlp.go:152 Starting HTTP server {"kind": "receiver", "name": "otlp", "data_type": "logs", "endpoint": "10.42.0.166:4318"}
Jaeger , Prometheus are given with {env:MY_POD_IP} ip , instead of that i should override the collector yaml to use respective POD IP's.
prometheus:
config:
scrape_configs:
- job_name: opentelemetry-collector
scrape_interval: 10s
static_configs:
- targets:
- ${env:MY_POD_IP}:8888
Do you see any issues with this integration approach
The text was updated successfully, but these errors were encountered:
Hi - This is the first time trying to integrate OTel collector and application in kubernetes, earlier have integrated in local without containerisation. I tried deploying the demo chart but most of the containers are not running and I keep getting one or the other issue. So planning to integrate my application pod with the collector. Please advise if the below approach will work or any suggestions.
2024-05-02T08:04:15.060Z info [email protected]/otlp.go:152 Starting HTTP server {"kind": "receiver", "name": "otlp", "data_type": "logs", "endpoint": "10.42.0.166:4318"}
With the above steps application can emit the telemetry data to collector and collector is already configured to export traces and metrics to prometheus https://github.com/open-telemetry/opentelemetry-helm-charts/blob/main/charts/opentelemetry-collector/values.yaml.
Jaeger , Prometheus are given with {env:MY_POD_IP} ip , instead of that i should override the collector yaml to use respective POD IP's.
prometheus:
config:
scrape_configs:
- job_name: opentelemetry-collector
scrape_interval: 10s
static_configs:
- targets:
- ${env:MY_POD_IP}:8888
Do you see any issues with this integration approach
The text was updated successfully, but these errors were encountered: