Closed aeoluswing closed 5 years ago
This is likely due to the last line of the response returned for GET /metrics
by Kong:
{"message":"An unexpected error occurred"}
This was a bug in rc3 but was fixed in the final release. Please use the 1.0.0 docker image.
Please close the issue if the problem is fixed with 1.0.0 for you. Thanks.
@hbagdi After updating kong image version to 1.0.0,everything works well.As you said, the cause of the problem is the last line of the response in rc3 version.Great appreciation for your suggestion.
Environment : Docker Version: 18.03.1-ce Kong image : 1.0.0rc3 Grafana image : 5.4.2
I have exposed the kong metrics data by the
kong-plugin-prometheus
in Prometheus Exposition Format:The issue is after scraped the
/metrics
endpoint just as issue #31 said,but prometheus got an 'valid start token' error:Kong grafana dashboard gains the metrics from
DS_LOCAL
datasource which i have changed to the prometheus datastore which i have mentioned before.Here is the configuration of prometheus:
I have tried service discovery and static config to scrape metrics but have not taken effect.
I'm not sure whether it's a prometheus plugin issue,but other metrics which exposed by exporters could be scraped by prometheus correctly.
Is there anything wrong i have tried?