-
Notifications
You must be signed in to change notification settings - Fork 832
API Design Proposal #2327
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
API Design Proposal #2327
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! I left few comments here and there, but I 💯 agree with the overall proposal.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea, LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I'm very happy to see this written down @jtlisi
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good right now! Waiting for you to resolve the existing conversations before I approve!
docs/proposals/api_design.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you link to the github issue as well?
docs/proposals/api_design.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/read
is a Prometheus API endpoint.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gouthamve I noticed. It's a bit strange since we currently host the read endpoint under /api/prom/read
. It should be /api/prom/api/v1/read
. In this case it make sense to move both of these endpoints under the Prometheus API:
/prometheus/api/v1/read
& /prometheus/api/v1/write
WDYT?
/write
is not technically part of the Prometheus API. However, the spec for writes is defined by the project so it might make sense to embed it into the Prometheus API.
Can we consider the proposal accepted and merge it? |
I'm fine with merging it now. |
Signed-off-by: Jacob Lisi <[email protected]>
Signed-off-by: Jacob Lisi <[email protected]>
Signed-off-by: Jacob Lisi <[email protected]>
Signed-off-by: Jacob Lisi <[email protected]>
Signed-off-by: Jacob Lisi <[email protected]>
Signed-off-by: Jacob Lisi <[email protected]>
Signed-off-by: Jacob Lisi <[email protected]>
Signed-off-by: Marco Pracucci <[email protected]>
e107433
to
2d4b6f4
Compare
@jtlisi I rebased |
The failed |
What this PR does:
This PR adds an initial draft of a proposal to restructure and version the Cortex API.