Problem with Prometheus Integration

Hi
I use Prometheus Integration in my ECK stack 8.12.1 version
Using with spring-boot java application and working good.

But now i add kotlin app and have little problem
{"log.level":"error","@timestamp":"2024-02-22T10:11:08.791Z","message":"Error fetching data for metricset prometheus.collector: unable to decode response from prometheus endpoint: unexpected status code 400 from server","component":{"binary":"metricbeat","dataset":"elastic_agent.metricbeat","id":"prometheus/metrics-default","type":"prometheus/metrics"},"log":{"source":"prometheus/metrics-default"},"log.origin":{"file.line":256,"file.name":"module/wrapper.go","function":"github.com/elastic/beats/v7/metricbeat/mb/module.(*metricSetWrapper).fetch"},"service.name":"metricbeat","ecs.version":"1.6.0","ecs.version":"1.6.0"}

On standalone metricbeats working good but with Prometheus Integration with ElasticAgent on ECK i have this error ....

Only this one logs ... can any help ??

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.