最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Otel-collector not able to accept rabbitmq-prometheus plugin metrics - Stack Overflow

programmeradmin1浏览0评论

I am working on apache skywalking with OAP, otel collector, banyandb. I want rabbitmq-prometheus metrics (http://localhost:15692/metrics/) should scraped and export by the OTel Collector. At the end i want these metrics for creating alarm rules in apache skywalking. there is a metrics called rabbitmq_queue_messages_unacked coming from rabbitmq-prometheus . But otel-collector is not able to scrape it. I am getting below error in OAP docker container->

java.lang.IllegalArgumentException: .apache.skywalking.mqe.rt.exception.IllegalExpressionException: Expression: sum(rabbitmq_queue_messages_unacked) > 100 error: Metric: [rabbitmq_queue_messages_unacked] does not exist.

It would be really appreciating if you provide me some example or doc.

otel-collector-config.yaml file

receivers:
  prometheus:
    config:
      scrape_configs:
        - job_name: 'rabbitmq-monitoring'
          metrics_path: "/metrics"
          scrape_interval: 5s
          static_configs:
            - targets: ['ip:15692']

processors:
  batch:

exporters:
  otlp:
    endpoint: ip:11800
    tls:
      insecure: true

service:
  pipelines:
    metrics:
      receivers: [prometheus]
      processors: [batch]
      exporters: [otlp]

Let me know if you need more details. Thank you in advance.

发布评论

评论列表(0)

  1. 暂无评论