Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new metrics endpoint #11

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Add new metrics endpoint #11

wants to merge 4 commits into from

Conversation

ComfortablyCoding
Copy link

@ComfortablyCoding ComfortablyCoding commented Feb 7, 2025

This adds the new /metrics endpoint spec


Related: directus/directus#24233 and directus/docs#155
Dependant on: directus/directus#24233

Copy link

linear bot commented Feb 7, 2025

SER-456 Prometheus MVP

Comment on lines 8 to 10
schema:
type: string
example:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's create a schema and also add an example value.

Copy link
Author

@ComfortablyCoding ComfortablyCoding Feb 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not believe a schema is possible for string response types, cc @hola-soy-milk for confirmation.

Example response has been added after some research (and discussion with Carmen) on the best way to do so given it uses #

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants