Skip to content

Conversation

lework
Copy link

@lework lework commented Aug 30, 2024

Pass the es url via the url parameter.

export ES_TEST_USERNAME elastic
export ES_TEST_PASSWORD 123456

http://localhost:9114/probe?target=http://test-elasticsearch-01:9200&auth_module=TEST

Copy link
Contributor

@sysadmind sysadmind left a comment

Choose a reason for hiding this comment

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

The code, as it is currently, completely removes the metrics collection for the /metrics endpoint. We can't break the single instance functionality when adding the multi target support.

See this PR for a reference where I added multi target support to the postgres_exporter prometheus-community/postgres_exporter#618

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