Open drozd0 opened 1 year ago
@diljeetsingh-nr yeah, I saw it. We have an issue with the authentication of CC for AMP when CC tries to fetch metrics from Prometheus. Do you use CC with AWS Prometheus? I followed this instruction: https://docs.aws.amazon.com/msk/latest/developerguide/cruise-control.html but there is no configuration for authentication...
We want to integrate cruise control (CC) into our Kafka platform. We are using AWS to run our Kafka cluster and want to use AWS Prometheus for storing metrics.
Could you please give an example of how to integrate CC and AWS Prometheus, I didn't find any example. If I am using AWS Prometheus host:port settings without any credentials then I am getting:
cruise-control | [2022-11-29 11:56:26,558] ERROR Error when attempting to query Prometheus metrics java.io.IOException: Received non-success response code on Prometheus API HTTP call, response code = 403, response body = {"message":"Missing Authentication Token"}
MSK documentation: https://docs.aws.amazon.com/msk/latest/developerguide/cruise-control.html They use Prometheus without any authentication in the example above:
metric.sampler.class=com.linkedin.kafka.cruisecontrol.monitor.sampling.prometheus.PrometheusMetricSampler prometheus.server.endpoint=1.2.3.4:9090 # Replace with your Prometheus IP and port
Could you please help?Thank you in advance!