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

Support Grafana 'timeseries' panel type for analyse grafana. #224

Merged
merged 2 commits into from
Nov 16, 2021

Conversation

stevesg
Copy link
Contributor

@stevesg stevesg commented Nov 16, 2021

This adds a workaround to parse the 'targets' out of a panel with type
'timeseries', not currently supported upstream. It also improves the
error handling when an unknown panel type is encountered.

When the functionality is merged upstream, this change can be removed.

This adds a workaround to parse the 'targets' out of a panel with type
'timeseries', not currently supported upstream. It also improves the
error handling when an unknown panel type is encountered.

When the functionality is merged upstream, this change can be removed.
@stevesg stevesg marked this pull request as ready for review November 16, 2021 14:44
@stevesg stevesg requested a review from a team as a code owner November 16, 2021 14:44
pkg/analyse/grafana.go Outdated Show resolved Hide resolved
pkg/commands/analyse_grafana_test.go Outdated Show resolved Hide resolved
@stevesg stevesg merged commit bcb2d50 into main Nov 16, 2021
@stevesg stevesg deleted the timeseries-panel branch November 16, 2021 18:56
simonswine pushed a commit to grafana/mimir that referenced this pull request Jan 12, 2022
…na/cortex-tools#224)

* Support Grafana 'timeseries' panel type for `analyse grafana`.

This adds a workaround to parse the 'targets' out of a panel with type
'timeseries', not currently supported upstream. It also improves the
error handling when an unknown panel type is encountered.

When the functionality is merged upstream, this change can be removed.

* Review comments.
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.

None yet

2 participants