Skip to navigation

Update metrics endpoint settings

See our Grafana dashboard documentation for details.

Enable the metrics endpoint for this project by setting spec.enabled to true.

RBAC Capability Required: mkio.metrics.update

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

project_namestringRequired

Request

This endpoint expects an object.
specobjectRequired
Specification.
kindstringOptional
The kind of record.
statusobjectOptional
Status when spec.enabled is true.

Response

OK
specobject
Specification.
kindstringOptional
The kind of record.
statusobjectOptional
Status when spec.enabled is true.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error