Closed Noah-Huppert closed 5 years ago
api_error_responses_total
jobs_failures_total
Settled on:
serverless_registry_api
api
requests_total
requests_duration_milliseconds
handlers_panics_total
error_responses_total
jobs
submitted_total
run_duration_milliseconds
failures_total
Unsure how to record serverless_registry_api_api_error_responses_total
.
Todo:
The serverless_registry_api_api_error_responses_total
metric is the only metric with a status_code
label for the response's status code.
metrics.MetricsResponseWriter
Metrics spec:
Format
- Namespace:
<namespace>
- Subsystem:
<subsystem>
- [ ]
<metric>
<label>
...
serverless_registry_api
api
response_durations_milliseconds
path
method
status_code
handler_panics_total
path
method
jobs
submitted_total
job_type
run_durations_milliseconds
job_type
successful
serverless_registry_api_jobs_submitted_total
metric since a count on serverless_registry_api_jobs_run_durations_milliseconds
could tell us the same thing.
Add an internal Prometheus metrics endpoint.
Collect the following metrics: