skywalking icon indicating copy to clipboard operation
skywalking copied to clipboard

[Feature] Implement parts of Prometheus `status` HTTP API

Open wankai123 opened this issue 2 years ago • 0 comments

Search before asking

  • [X] I had searched in the issues and found no similar feature requirement.

Description

SkyWalking has implemented the PromQL and can be a prometheus data data source for Grafana. But didn't implement status API. In the Grafana 10 creating data source will invoke /api/v1/status/buildinfo and cause some warning logs:

{"@level":"warn","@message":"Failed to get prometheus buildinfo","@timestamp":"2024-01-02T01:16:32.313830Z","err":"no build info","logger":"tsdb.prometheus"}

{"@level":"warn","@message":"Failed to get prometheus heuristics","@timestamp":"2024-01-02T01:16:32.313888Z","err":"failed to get buildinfo: no build info","logger":"tsdb.prometheus"}

This warning won't impact data source creating and use. But we should implement parts of the status API to avoid the noises.

Use case

No response

Related issues

No response

Are you willing to submit a pull request to implement this on your own?

  • [X] Yes I am willing to submit a pull request on my own!

Code of Conduct

wankai123 avatar Jan 02 '24 01:01 wankai123