waliaabhishek / ccloud-chargeback-helper

Confluent Cloud Billing Chargeback Helper
https://github.com/waliaabhishek/ccloud-chargeback-helper
MIT License
28 stars 9 forks source link

Confluent prices does not match with grafana #13

Open davinder26 opened 2 weeks ago

davinder26 commented 2 weeks ago

@waliaabhishek @pneff93 Confluent prices does not match with grafana ,Do I need to modify anything in code

waliaabhishek commented 2 weeks ago

The code for checked for accuracies for billing data and should not have any discrepancy. Can you check the logs and see if there are any issues that the code is sending to the logs ?

davinder26 commented 2 weeks ago

@waliaabhishek env file parameters.

CCLOUD_BILLING_API_KEY=*** CCLOUD_BILLING_API_SECRET=** CHARGEBACK_SERVER_URL=http://prometheus_for_chargeback:9090 CHARGEBACK_METRICS_URL=http://ccloud_chargeback_handler:8000 CHARGEBACK_READINESS_PROBE_URL=http://ccloud_chargeback_handler:8001 METRICS_API_SERVER_URL=http://prometheus_for_chargeback:9090 METRICS_API_SERVER_ENABLE_AUTH=False METRICS_API_SERVER_AUTH_TYPE=HTTPBasicAuth LOG_LEVEL="DEBUG" ENABLE_METHOD_BREADCRUMBS=True

davinder26 commented 5 days ago

@waliaabhishek Any suggestions

davinder26 commented 3 days ago

@waliaabhishek I also used https://github.com/confluentinc/jmx-monitoring-stacks/tree/main/ccloud-prometheus-grafana repo.With this repo data is matching.But displaying only for current month. Anthing wrong in env file parameters.