-
Notifications
You must be signed in to change notification settings - Fork 841
Closed
Labels
good first issueThese are great first issues. If you are looking for a place to start, start here!These are great first issues. If you are looking for a place to start, start here!type/bug
Description
Describe the bug
When using PRW2, it is possible to write a metric without labels, or at least, cortex does not return a 4xx error.
To Reproduce
Steps to reproduce the behavior:
- Start Cortex 0e9721f
- Send a metric without labels (part of Add remote write 2 receivers compliance tests prometheus/compliance#182)
Expected behavior
Prometheus returns 400
"invalid metric name or labels, got {}\n"
Cortex returns 200.
friedrichg
Metadata
Metadata
Assignees
Labels
good first issueThese are great first issues. If you are looking for a place to start, start here!These are great first issues. If you are looking for a place to start, start here!type/bug