admin管理员组文章数量:1332873
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.
本文标签: Otelcollector not able to accept rabbitmqprometheus plugin metricsStack Overflow
版权声明:本文标题:Otel-collector not able to accept rabbitmq-prometheus plugin metrics - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742314189a2451483.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论