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

prometheus log into opensearch resutls in bad request 400 #290

Open
layavadi opened this issue Jul 18, 2024 · 0 comments
Open

prometheus log into opensearch resutls in bad request 400 #290

layavadi opened this issue Jul 18, 2024 · 0 comments

Comments

@layavadi
Copy link

layavadi commented Jul 18, 2024

I have configured opensearch end point in prometheus with

  • job_name: opensearch
    scrape_interval: 10s
    metrics_path: "/_prometheus/metrics"
    scheme: https
    static_configs:
    • targets:
      • ENDPOINT:9200
        tls_config:
        insecure_skip_verify: true
        basic_auth:
        username: 'admin'
        password: 'PASSWD'
    • bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
      This use to work before when opensearch was not configured with TLS. But now prometheus target list shows Bad request ( 400).

Am I missing something obvious ?

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

No branches or pull requests

1 participant