GET /organizations/{name}/teams/{team}/metric-names

This operation retrieves metric names for a CAVE team.

The operation can be invoked by any user of the team (any role).

The response contains the list of metrics (names and tags), in JSON format.

Resource URL

https://api.cavellc.io/organizations/{name}/teams/{team}/metric-names

Resource Information

The request must be authenticated with a valid user token, as obtained from a login operation. See POST /users/login for details. The token can be passed as the username (with an empty password) following the Basic Authentication scheme of the HTTP protocol. Alternatively, the same token can be accepted as a Bearer Token, similar to the OAuth2 specification.

Example Request

curl -i -u 8b896055-c295-4a30-a29c-5a97d15f1818: https://api.cavellc.io/organizations/acme/teams/runners/metrics

Example Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 67
Connection: keep-alive

[
  {
    "name": "RabbitMsgReceived",
    "tags": [ "host", "environment", "type" ]
  }
]

See Also

Back to Metrics

Back to API Main Page