be3792919b
Only official projects can publish to docs.openstack.org, thus remove the publishing job for releasenotes from this project. this is done with replacing the template with a build-only template. Depends-On: https://review.opendev.org/672053 Change-Id: I9254be7bd600b63674d4fc6fa5e29f805d6b61c8 |
||
---|---|---|
doc | ||
promstat | ||
releasenotes | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.stestr.conf | ||
.zuul.yaml | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
promstat
Library for reporting stats to both statsd and prometheus.
statsd and prometheus are both popular metrics
collecting systems, but they operate quite differently from each other.
promstat
is a wrapper abstraction library around the statsd
and prometheus clients that allows instrumenting code once so that
operators can integrate with either system.
prometheus has a more structured reporting system, so the calling
semantics of prometheus_client
are used. Each metric reporter has an additional field,
template
which is a statsd metric name template to be used
for the statsd reporting.
promstat
does not have a global Registry
like prometheus_client defaults to using. If you want to use the global
Registry object with promstat
, pass
prometheus_client.REGISTRY
to the registry
parameter of the PromStat
constructor.
- Free software: Apache license
- Documentation: https://docs.openstack.org/promstat/latest
- Source: https://git.openstack.org/cgit/openstack/promstat
- Bugs: https://storyboard.openstack.org/#!/project/openstack/promstat