[RW2] Return 400 for Exemplars without Series or Histograms not written#17250
Conversation
Signed-off-by: pipiland2612 <[email protected]>
Signed-off-by: pipiland2612 <[email protected]>
|
I think users would notice this change. |
Thanks for suggesting. I have fixed the description now |
|
I am not sure if we should return this or ingest the exemplar. @krajorama what is your opinion? |
There was a problem hiding this comment.
LGTM, thanks!
As per RW 2 spec sample or histogram must be provided, so it's an invalid message.
For PRW 1, since we silently dropped, we might as well indicate a problem 👍🏽 (it's only for RW2)
At least one element in samples or in histograms MUST be provided. A TimeSeries MUST NOT include both samples and histograms. For series which (rarely) would mix float and histogram samples, a separate TimeSeries message MUST be used.
|
I updated release note item to |
ok, that's clear |
Which issue(s) does the PR fix:
Fixes #17247
Does this PR introduce a user-facing change?