Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Add time ranges for tag requests #2045

Merged
merged 3 commits into from
Nov 28, 2022
Merged

Add time ranges for tag requests #2045

merged 3 commits into from
Nov 28, 2022

Conversation

fionaliao
Copy link
Collaborator

Adding time ranges to the GraphiteTags, GraphiteAutoCompleteTags and GraphiteAutoCompleteTagValues models. These are needed by GEM to decide what time range to return results for.

The time range fields for GraphiteTags and GraphiteAutoCompleteTags were originally added in #2013, though were removed in #2015. I'm not sure why they were removed, possibly because Metrictank doesn't use them.

I've added comments explaining the fields to the models, but haven't updated docs as per #2013 (comment), "In metrictank we don't actually use the fields, so we don't need to really update docs."

Signed-off-by: Fiona Liao <fiona.y.liao@gmail.com>
Accidentally removed
api/models/graphite.go Outdated Show resolved Hide resolved
Copy link
Contributor

@replay replay left a comment

Choose a reason for hiding this comment

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

One minor comment, otherwise LGTM

@fionaliao fionaliao merged commit 61182cf into master Nov 28, 2022
@fionaliao fionaliao deleted the fl/add-time-range branch November 28, 2022 15:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants