grafana / xk6-client-prometheus-remote

A k6 extension for testing Prometheus Remote Write endpoints
Apache License 2.0
24 stars 12 forks source link

Support custom headers in Config #21

Closed philipgough closed 1 year ago

philipgough commented 2 years ago

It might be useful to be able to specify custom headers on top of the fields already exposed in the config.

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.

philipgough commented 2 years ago

@mstoykov - what do you think about this change? Could we merge it?

mstoykov commented 1 year ago

The change seems fine to me, @dgzlopes, @replay any input on if this is necessary needed as I am more of the k6 person here instead of the prometheus one ;)

philipgough commented 1 year ago

any input on if this is necessary needed

The use case here is to support other backends or proxies that use/require custom headers such as Thanos receive.

philipgough commented 1 year ago

@mstoykov I think we are good here then? :)