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

Fix interpolating of time macros using UTC #13

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

ivanahuckova
Copy link
Member

Part of https://github.com/grafana/grafana-infinity-datasource

We should be using UTC when interpolating time. This is a common pattern across data sources, as we don't have timezone in the backend.

I have updated tests, so that we test with any timezone, not just UTC.

I also had to bump github.com/grafana/pyroscope-go/godeltaprof from v0.1.7 to v0.1.8 as I was getting following error when I wanted to run tests grafana/agent#6972.

Copy link
Collaborator

@yesoreyeram yesoreyeram left a comment

Choose a reason for hiding this comment

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

LGTM. 🎉

@ivanahuckova ivanahuckova merged commit 2def9dc into main Nov 13, 2024
4 checks passed
@ivanahuckova ivanahuckova deleted the ivana/time-macros-utc branch November 13, 2024 10:59
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.

2 participants