opentelemetry-python
opentelemetry-python copied to clipboard
Facing issue with Fetching Metrics while integrating Port for metrics collector with OTLP
We are trying to update the config.yaml of edge device configuration as below to integrate the OTLP metrics collector to export the logs to Azure Monitor which is giving us error. Need help in exporting the metrics collector to default 4317 GRPC port
otel-collector-config.yaml
receivers:
Data sources: traces, metrics, logs
otlp: protocols: grpc: endpoint: 0.0.0.0:4317 http: endpoint: 0.0.0.0:4318
processors:
Data sources: traces, metrics, logs
batch:
exporters:
Data sources: metrics
prometheusremotewrite: endpoint: "9600" external_labels: team: foo env: bar service: pipelines: metrics: receivers: [otlp] processors: [batch] exporters: [prometheusremotewrite]
What is the expected behavior? It is expected for the metrics to be exported through OTLP collector to Azure monitor
What is the actual behavior? We are not able to fetch the metrics data