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

Change datasource timeout config for Grafana and add matching timeout… #1304

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

philipgough
Copy link
Contributor

… annotation for Route

The previous configuration queryTimeout is not valid as per https://grafana.com/docs/grafana/v8.5/administration/provisioning/#json-data (it should be timeout defined as seconds).

The Route needs to have a corresponding annotation to avoid queries timing out after 30s, which is the default in OpenShifts HAProxy config

@philipgough
Copy link
Contributor Author

/test test-e2e

TLSAuth bool `yaml:"tlsAuth,omitempty"`
TLSAuthCA bool `yaml:"tlsAuthWithCACert,omitempty"`
QueryTimeout string `yaml:"queryTimeout,omitempty"`
TLSAuth bool `yaml:"tlsAuth,omitempty"`
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit, but would be nice to keep the formatting here is consistent.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ack, it is formatted correctly via gofmt however the comment on this particular field throws off the indentation. Since this is a bug fix I'd just keep it minimal here as is, but I intend on doing a follow up which reviews and explains all the fields in this file which will address this!

Copy link
Contributor

@douglascamata douglascamata left a comment

Choose a reason for hiding this comment

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

/lgtm

Copy link

openshift-ci bot commented Jan 30, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: douglascamata, philipgough

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link

@openshift-merge-bot openshift-merge-bot bot merged commit dfc42bd into stolostron:release-2.10 Jan 30, 2024
8 checks passed
@philipgough philipgough deleted the ACM-9682 branch January 31, 2024 12:52
philipgough added a commit to philipgough/multicluster-observability-operator that referenced this pull request Jan 31, 2024
openshift-merge-bot bot pushed a commit that referenced this pull request Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants