contentdb/app/flatpages/help/metrics.md

26 lines
732 B
Markdown
Raw Normal View History

2020-04-23 23:52:03 +02:00
title: Prometheus Metrics
## What is Prometheus?
[Prometheus](https://prometheus.io) is an "open-source monitoring system with a
dimensional data model, flexible query language, efficient time series database
and modern alerting approach".
2021-02-26 00:03:32 +01:00
Prometheus Metrics can be accessed at [/metrics](/metrics), or you can view them
on the Grafana instance below.
2024-03-04 19:05:16 +01:00
{% if monitoring_url %}
2021-02-26 00:03:32 +01:00
<p>
2024-03-04 19:05:16 +01:00
<a class="btn btn-primary" href="{{ monitoring_url }}">
2021-02-26 00:03:32 +01:00
View ContentDB on Grafana
</a>
</p>
2024-03-04 19:05:16 +01:00
{% endif %}
2020-04-23 23:52:03 +02:00
## Metrics
* `contentdb_packages` - Total packages (counter).
* `contentdb_users` - Number of registered users (counter).
* `contentdb_downloads` - Total downloads (counter).
* `contentdb_score` - Total package score (gauge).