huksley / prometheus-remote-write

Send samples to prometheus via remote_write from NodeJS
MIT License
20 stars 6 forks source link

Baerer authorization for Prometheus remote write #2

Closed grootsadmin closed 1 year ago

grootsadmin commented 1 year ago

not able to set Baerer authorization for Prometheus remote write

How to set Baerer auth method??

huksley commented 1 year ago

Override fetch function in options.

{
  fetch: (url, options) {} => 
}
huksley commented 1 year ago

Which services you use which requires Bearer auth?