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

Change /loki/api/v1/label to loki/api/v1/labels #1370

Merged
merged 1 commit into from
Dec 9, 2019
Merged

Conversation

slim-bean
Copy link
Collaborator

Fixes #1367

To be Prometheus compatible, this endpoint should be loki/api/v1/labels

@rfratto
Copy link
Member

rfratto commented Dec 5, 2019

Do we want to keep the old endpoint so this isn't a breaking change?

@slim-bean
Copy link
Collaborator Author

I had originally drafted this PR to have both and in the process of documenting decided to remove the old.

I could be swayed either way on this honestly but part of me feels like just pulling off the bandaid here and removing it. Else we will have it forever.

Copy link
Member

@rfratto rfratto left a comment

Choose a reason for hiding this comment

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

LGTM, let's watch the world burn with our second breaking change bug fix.

@slim-bean slim-bean merged commit ea5eec2 into master Dec 9, 2019
@slim-bean slim-bean deleted the add-labels-http branch December 9, 2019 14:00
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.

Change /api/v1/label endpoint to /api/v1/labels to match with prometheus API
2 participants