mirror of
https://github.com/grafana/grafana.git
synced 2024-12-25 08:21:46 -06:00
3f81f0d145
* check error for source and check http status for source * refactor * add source to health check status code as well * remove error where it will be nil |
||
---|---|---|
.. | ||
client | ||
converter | ||
instrumentation | ||
intervalv2 | ||
middleware | ||
models | ||
querydata | ||
resource | ||
testdata | ||
utils | ||
admission_handler.go | ||
conversion_handler.go | ||
go.mod | ||
go.sum | ||
healthcheck_test.go | ||
healthcheck.go | ||
heuristics_test.go | ||
heuristics.go | ||
library_test.go | ||
library.go | ||
README.md |
promlib
Prometheus Library (a.k.a. promlib) is the foundation of the Grafana Prometheus data source backend.
How to tag/version?
- Checkout the commit you want to tag (
git checkout <COMMIT_SHA>
) - Run
git tag pkg/promlib/<VERSION>
(For examplegit tag pkg/promlib/v0.0.12
)- NOTE: We're using Lightweight Tags, so no other options are required
- Run
git push origin pkg/promlib/<VERSION>
- Verify that the tag was created successfully here
- DO NOT RELEASE anything! Tagging is enough.
- After tagging and waiting 5-10 minutes for go module registry to catch up just bump the
promlib
version ongrafana/grafana
- Bumping the version on
grafana/grafana
is not necessary asgrafana/grafana
is using the local version of it always. - But it is a good practice to do it.
- Bumping the version on