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

cloudwatch: add queryMode attribute #662

Merged
merged 4 commits into from
Jul 16, 2024

Conversation

nicolas-fidel-wmx
Copy link
Contributor

What does this do?

To generate certain dashboards with the Cloudwatch datasource, specify the queryMode

Why is it a good idea?

Fix a simple issue

Context

For many queries I need this option

Copy link
Collaborator

@JamesGibo JamesGibo left a comment

Choose a reason for hiding this comment

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

Looks good, would you be able to add some documentation for the new parameter added?
Thanks

@@ -32,6 +32,7 @@ class CloudwatchMetricsTarget(Target):
:param hide: controls if given metric is displayed on visualization
:param datasource: Grafana datasource name
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please could you add a documentation string for this new parameter?

Suggested change
:param datasource: Grafana datasource name
:param datasource: Grafana datasource name
:param queryMode: adnafoinsdfinsoginsoigsfoigsfog

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added a comment

@JamesGibo JamesGibo merged commit 1385ca2 into weaveworks:main Jul 16, 2024
5 checks passed
@nicolas-fidel-wmx
Copy link
Contributor Author

When are you going to publish the release or the fix?

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