[英]OpenStack's Ceilometer metering notifications export to kafka - Most efficient way
as in the subject I need to put the defined metrics' measures on a kafka topic in order to feed our monitoring system. 就像本主题一样,我需要将定义的指标的度量放在kafka主题上,以便提供给我们的监控系统。 I've seen that Ceilometer's Kafka publisher is deprecated so it's not a deal, but it's possible to:
我已经看到Ceilometer的Kafka发布者已被弃用,所以这没什么大不了的,但是有可能:
Both solutions seem compliant with Kafka-Connect. 两种解决方案似乎都与Kafka-Connect兼容。 Can anybody share his/her experience about this stuff?
谁能分享他/她在这方面的经验? OpenStack's documentation is a little poor about this topic (at least for me).
OpenStack的文档对此主题有些欠缺(至少对我而言)。 Any suggestion would be of help.
任何建议都会有所帮助。 Thanks for your time ny
谢谢你的时间
As you said, kafka publisher was deprecated in very new version due to adapt ceilometer-gnocchi solution. 如您所说,由于采用了ceilometer-gnocchi解决方案,kafka Publisher已被弃用在非常新的版本中。 But this doesn't mean that you can not use the deprecated code and former abilities.
但这并不意味着您不能使用已过时的代码和以前的功能。
You can just configure kafka publisher in pipeline.yaml file directly. 您可以直接在pipeline.yaml文件中配置kafka Publisher。
---
sources:
- name: meter_kafka
interval: 600
meters:
- "*"
sinks:
- kafka_sink
sinks:
- name: kafka_sink
transformers:
publishers:
- kafka://[kafka_broker_ip]:[kafka_broker_port]?topic=[topic]
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.