Skip to content

Commit

Permalink
Merge pull request #697 from Channyboy/spec_prom_output_ammend
Browse files Browse the repository at this point in the history
Ammend table with Prometheus output as well
  • Loading branch information
Channyboy committed Aug 5, 2022
2 parents 1e6cf8d + d0b7654 commit a80ebd6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/src/main/asciidoc/architecture.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,9 @@ The API MUST NOT return a 500 Internal Server Error code to represent a non-exis
|===
| Endpoint | Request Type | Supported Formats | Description

| `/metrics` | GET | JSON, OpenMetrics | Returns all registered metrics
| `/metrics?scope=<scope_name>` | GET | JSON, OpenMetrics | Returns metrics registered for the respective scope. Scopes are listed in <<metrics-setup>>
| `/metrics?scope=<scope_name>&name=<metric_name>` | GET | JSON, OpenMetrics | Returns metrics that match the metric name for the respective scope
| `/metrics` | GET | JSON, Prometheus, OpenMetrics | Returns all registered metrics
| `/metrics?scope=<scope_name>` | GET | JSON, Prometheus, OpenMetrics | Returns metrics registered for the respective scope. Scopes are listed in <<metrics-setup>>
| `/metrics?scope=<scope_name>&name=<metric_name>` | GET | JSON, Prometheus, OpenMetrics | Returns metrics that match the metric name for the respective scope
| `/metrics` | OPTIONS | JSON | Returns all registered metrics' metadata
| `/metrics?scope=<scope_name>` | OPTIONS | JSON | Returns metrics' metadata registered for the respective scope. Scopes are listed in <<metrics-setup>>
| `/metrics?scope=<scope_name>&name=<metric_name>` | OPTIONS | JSON | Returns the metric's metadata that matches the metric name for the respective scope
Expand Down

0 comments on commit a80ebd6

Please sign in to comment.