kscout / serverless-registry-api

API which curates serverless applications.
https://api.kscout.io
GNU General Public License v2.0
0 stars 1 forks source link

Add internal Prometheus metrics #167

Closed Noah-Huppert closed 5 years ago

Noah-Huppert commented 5 years ago

Add an internal Prometheus metrics endpoint.

Collect the following metrics:

Noah-Huppert commented 5 years ago
Noah-Huppert commented 5 years ago
Noah-Huppert commented 5 years ago

Settled on:

Noah-Huppert commented 5 years ago

Unsure how to record serverless_registry_api_api_error_responses_total.

Todo:

Noah-Huppert commented 5 years ago

The serverless_registry_api_api_error_responses_total metric is the only metric with a status_code label for the response's status code.

Noah-Huppert commented 5 years ago
Noah-Huppert commented 5 years ago

Metrics spec:

Format

  • Namespace: <namespace>
    • Subsystem: <subsystem>
      • [ ] <metric>
        • <label>

...

Noah-Huppert commented 5 years ago