Skip to content

Conversation

@kerneltime
Copy link
Contributor

What changes were proposed in this pull request?

There are some fixes needed for various dashboards published.
Details are in the linked jira.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-10229

How was this patch tested?

Dashboard was imported to my dev cluster and validated against load generation.

@kerneltime kerneltime changed the title HDDS-10229: Fixes for dashboards HDDS-10229. Fixes for dashboards Jan 29, 2024
@kerneltime kerneltime requested a review from duongkame January 29, 2024 20:51
Copy link
Contributor

@tanvipenumudy tanvipenumudy left a comment

Choose a reason for hiding this comment

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

Thank you for the patch!

"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-1}"
"uid": "${DS_PROMETHEUS}"
Copy link
Contributor

Choose a reason for hiding this comment

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

Datasource ${DS_PROMETHEUS} was not found

I have checked out the patch locally and tried viewing the dashboards using Graphana via a docker-compose cluster with the monitoring add-ons, the variable: DS_PROMETHEUS does not get resolved automatically - not sure if it has something to do with my local settings! (please find the image attached).

Dashboards Error

I tried removing the uid field under datasource after which I do not run into this issue - I get to see the graphs as expected.

"datasource": {
  "type": "prometheus"
},

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Did you import it as a new dashboard?

Copy link
Contributor

@tanvipenumudy tanvipenumudy Jan 30, 2024

Choose a reason for hiding this comment

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

While adding a new dashboard (by importing the .json file) and selecting the Prometheus source, I can see the graphs. However, when attempting to view graphs for the existing dashboards, I encounter the error message: Datasource ${DS_PROMETHEUS} was not found (by default).

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 was able to reproduce the issue. It only impacts the pre provisioned Dashboards in the dev environment but should be ok for any customer importing a dashboard. I will update with the fix that makes it work for both.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link

@PhilippeLan PhilippeLan Mar 22, 2024

Choose a reason for hiding this comment

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

Dear ozone comiters,
The latest Grafana is depreciating certain visual currently used within the current object-metrics dashboard.
I've updated upon recent expectation hope this helps.
Grafaa version Grafana v10.4.0 (03f502a94d)
Ozone - Object Metrics update dahsboards.json

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks @PhilippeLan will include these changes.

Change-Id: Iccbf8ef5ab63232e739fc2bb58e4e107696febcc
Copy link
Contributor

@duongkame duongkame left a comment

Choose a reason for hiding this comment

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

Thanks for the patch @kerneltime . LGTM.

@adoroszlai adoroszlai merged commit 039dea9 into apache:master Feb 8, 2024
@adoroszlai
Copy link
Contributor

Thanks @kerneltime for the patch, @duongkame, @tanvipenumudy for the review.

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.

5 participants