Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 795 Bytes

remote_read.md

File metadata and controls

30 lines (21 loc) · 795 Bytes

Prometheus Remote-read

Edit prometheus.yml configuration file, this file contains the global instance configuration.

You can find this file by greping the process which use it.

ps aux | grep prometheus | grep -v 'grep'

The process arg --config.file contains the configuration file path.

To setup prometheus remote configuration add the following lines (replace captitals strings by your tokens):

remote_read:
  - url: http://127.0.0.1:8080/prometheus/remote_read
    basic_auth:
      username: ''
      password: 'READ_TOKEN'

Don't forget to restart your Prometheus instance to apply modifications.

Going further

Warning

Any feedback on this implementation will be greatly welcomed, you can reach us on gitter.