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

[BUG]: Grafana installation script - prometheus address is incorrect #278

Closed
DougBernhardt opened this issue Apr 21, 2022 · 5 comments
Closed
Assignees
Labels
area/csm-observability Issue pertains to the CSM Observability module needs-triage Issue requires triage. type/bug Something isn't working. This is the default label associated with a bug issue.
Milestone

Comments

@DougBernhardt
Copy link

DougBernhardt commented Apr 21, 2022

Bug Description

In the grafana deployment instructions, the address for the prometheus appears to be incorrect and the data source is therefore invalid. The correct address should be: http://prometheus-server:9090, not http://prometheus:9090.

Logs

Loading the prometheus data source in grafana and testing results in "bad gateway" error

Screenshots

No response

Additional Environment Information

No response

Steps to Reproduce

Deploy prometheus and grafana according to instructions here:
https://dell.github.io/csm-docs/docs/observability/deployment/

Expected Behavior

Grafana datasource should be connected and working.

CSM Driver(s)

CSM for PowerStore

Installation Type

No response

Container Storage Modules Enabled

No response

Container Orchestrator

Kubernetes v1.23.5

Operating System

RHEL 8.5

@DougBernhardt DougBernhardt added needs-triage Issue requires triage. type/bug Something isn't working. This is the default label associated with a bug issue. labels Apr 21, 2022
@shaynafinocchiaro shaynafinocchiaro added the area/csm-observability Issue pertains to the CSM Observability module label Apr 22, 2022
@sharmilarama
Copy link
Collaborator

Thanks @DougBernhardt, we will investigate this and let you know.

@shaynafinocchiaro
Copy link
Collaborator

Hi @DougBernhardt this serves as an example. This should be the IP/PORT of your running Prometheus instance. This can be found by running kubectl -n [CSM NAMESPACE] get svc/prometheus-server.

@DougBernhardt
Copy link
Author

OK. perhaps mention that it's just an example and include that step. Since the previous steps walk through deploying prometheus, then I guess I assumed that tied back to the previous step and that I would not need to resolve it in my environment and modify the value, if that make sense.

@shaynafinocchiaro
Copy link
Collaborator

Yes, I will make the necessary changes to the documentation.

@hoppea2 hoppea2 added this to the v1.2.1 milestone May 10, 2022
@hoppea2 hoppea2 changed the title [BUG]: Grafana installation scrript - prometheus address is incorrect [BUG]: Grafana installation script - prometheus address is incorrect May 10, 2022
@rsedlock1958
Copy link

I have reviewed this and made one minor grammatical update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/csm-observability Issue pertains to the CSM Observability module needs-triage Issue requires triage. type/bug Something isn't working. This is the default label associated with a bug issue.
Projects
None yet
Development

No branches or pull requests

5 participants