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

scraping metrics from URL requiring basic authentication #4604

Closed
alfonz19 opened this Issue Sep 13, 2018 · 1 comment

Comments

Projects
None yet
1 participant
@alfonz19
Copy link

alfonz19 commented Sep 13, 2018

Bug Report

What did you do?
I tried to configure scrape config using metrics resource requiring basic auth

What did you expect to see?

working prometheus.

What did you see instead? Under which circumstances?

actually nothing. I'd at least expect log message with http 403 or something

Environment
linux

  • System information:

Linux 4.16.11-100.fc26.x86_64 x86_64

  • Prometheus version:

prometheus, version 2.2.1 (branch: HEAD, revision: bc6058c)
build user: root@149e5b3f0829
build date: 20180314-14:15:45
go version: go1.10

  • Alertmanager version:

no idea what alertmanager is and where to find it.

  • Prometheus configuration file:
...
- job_name: 'spring'
    metrics_path: '/actuator/prometheus'
#    basic_auth:
#      username: 'monitoring'
#      password: ''
    static_configs:
      - targets: ['monitoring:Eg1zbt83R7@localhost:8080']
...
  • Alertmanager configuration file:
no idea what alertmanager is and where to find it.
  • Logs:
no idea where prometheus logs are, unable to find them anywhere in system neither their location mentioned in documentation.

@alfonz19 alfonz19 closed this Sep 16, 2018

@lock

This comment has been minimized.

Copy link

lock bot commented Mar 22, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 22, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.