Prometheus metrics guidelines#8
Open
StephanMeijer wants to merge 1 commit into
Open
Conversation
Signed-off-by: Stephan Meijer <me@stephanmeijer.com>
qbey
reviewed
Jun 9, 2026
qbey
left a comment
Member
There was a problem hiding this comment.
For our projects we will use https://github.com/django-commons/django-prometheus which provides a first good step for observability.
| @@ -0,0 +1,59 @@ | |||
| # Observability at La Suite numérique | |||
|
|
|||
| Here are a few conventions regarding observability in La Suite numérique applications. The goal is to make applications easier to operate by exposing the information needed to understand their health, load and resource usage. | |||
Member
There was a problem hiding this comment.
The brand name has been updated since the first version of this documentation, you may use LaSuite instead of La Suite numérique in new documentation update.
Suggested change
| Here are a few conventions regarding observability in La Suite numérique applications. The goal is to make applications easier to operate by exposing the information needed to understand their health, load and resource usage. | |
| Here are a few conventions regarding observability in LaSuite applications. The goal is to make applications easier to operate by exposing the information needed to understand their health, load and resource usage. |
| * background job failures; | ||
| * external dependency errors. | ||
|
|
||
| Custom metrics should be global or instance-level. Do not expose per-user metrics, personal data, secrets or business information that is only useful for product analytics. |
Member
There was a problem hiding this comment.
Note that we might expose business oriented data as some of them are shared between tech and product analysis, but it's a detail we will figure in each project.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add observability guidelines for Prometheus metrics.
Screenshot of new page