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

[DOC] Configuring a data source connection from Prometheus to OpenSearch. Add configuration in Docker container #3681

Open
3 tasks
freesky15 opened this issue Apr 5, 2023 · 3 comments
Assignees
Labels
1 - Backlog Issue: The issue is unassigned or assigned but not started cluster mgmt Sev3 Medium priority. Content that's missing, driven by dev, PM or the community.

Comments

@freesky15
Copy link

What do you want to do?

  • [*] Request a change to existing documentation
  • Add new documentation
  • Report a technical problem with the documentation
  • Other

Tell us about your request. Provide a summary of the request and all versions that are affected.

What other resources are available? Provide links to related issues, POCs, steps for testing, etc.

Hello!
Could you add information about how to configure datasource(Prometheus) in docker container(maybe how to configure using docker-compose)? Because the example in documentation doesn't work.

@freesky15
Copy link
Author

@Naarcha-AWS
Copy link
Collaborator

Hi @freesky15. Do you have a response or error codes from when you tried to run the script?

@freesky15
Copy link
Author

freesky15 commented Apr 6, 2023

Thanks for your feedback.
I have no errors. I've tried to run the command

docker-compose exec os1 bash -c "/usr/share/opensearch/bin/opensearch-keystore add-file plugins.query.federation.datasources.config /usr/share/opensearch/datasources.json"

in the OpenSearch container.
After that I've tried to seen the available metrics in Opensearch Dashboards in Observability but I haven't seen the metrics.
My datasources.json file:
{ "name" : "my_prometheus", "connector": "prometheus", "properties" : { "prometheus.uri" : "http://prometheus:9090" } }

@Naarcha-AWS Naarcha-AWS added 1 - Backlog Issue: The issue is unassigned or assigned but not started Sev3 Medium priority. Content that's missing, driven by dev, PM or the community. and removed untriaged labels May 1, 2023
@Naarcha-AWS Naarcha-AWS self-assigned this May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 - Backlog Issue: The issue is unassigned or assigned but not started cluster mgmt Sev3 Medium priority. Content that's missing, driven by dev, PM or the community.
Projects
None yet
Development

No branches or pull requests

2 participants