Conversation
|
There's now some redundancy between the new The current request model for How about we extend it such that it looks like this: Then a user could simply choose whether they want to specify metrics using the metric names in |
Co-authored-by: Mauro Stettler <mauro.stettler@gmail.com>
I wanted to purposefully add a separate, non-graphite endpoint. I don't see the benefit of munging together a graphite compatible endpoint and a graphite incompatible endpoint. Better to have distinct specific endpoints IMO. |
isn't this what we already do with many of our endpoints? eg. we added metadata format to /render and you added lastts-jso to /tags/findSeries ? this seems similar that said, i don't care about one way or another. if that was @replay 's only last remaining remark than it seems this is ready to merge? |
That's fair. I think the difference would be that there are effectively no overlapping params with the existing request. |
|
I would like to leave this as a separate endpoint. I think that it is cleaner to have more targeted endpoints than multi-functional endpoints. Also, I know that @replay has expressed concern about accidental "overdeletion" with tagged expressions. |
replay
left a comment
There was a problem hiding this comment.
I think the code looks good.
As @shanson7 mentioned, my only concern is that it's easy to accidentally over-delete. Would be nice if you could add the endpoint to /docs/http-api.md and also add a warning specifically mentioning that it's easy to over delete, then I think it's fine to merge.
This PR does 2 things:
Tofilter (or "older than") in tagquery filtering. This is useful for delete, where you might want to only delete series that haven't had any recent data.