Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds prometheus metrics collection and endpoint #798

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Feb 26, 2024

  1. Adds prometheus metrics collection and endpoint

    Why are these changes being introduced:
    
    * The ability to understand how how timdex api is being used, including
      which fields are being used and whether any deprecated fields are
      being requested will help us have necessary information to make
      decisions going forward
    * A culture of assessment is part of our discovery strategic plan.
      Intentional, specific metric collection is an important part of
      assessing our platform.
    
    How does this address that need:
    
    * Adds a feature flag, controlled by ENV that enables collection of a
      few intial metrics and exposes them for collection by prometheus
      servers
    
    Document any side effects to this change:
    
    * the metrics endpoint is open to anyone wanting to grab metrics
    JPrevost committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    8c75b7b View commit details
    Browse the repository at this point in the history