How to ingest Metrics into Azure Monitor via Webhhook.
Hi,
I'm trying to ingest metrics vom Cribl to Azure Monitor managed service for Prometheus. For this I'm using a Webhook in Cribl with following data ingestion adress:
https://prometheus-cribl-dev-xxxx.germanywestcentral-1.metrics.ingest.monitor.azure.com/dataCollectionRules/dcr-67xxxxxxxxxxxxxxxx999209e539/streams/Microsoft-PrometheusMetrics/api/v1/write?api-version=2023-04-24
The Authentication with the Bearer token works, but now I'm getting the error message: Error":{"Code":"UnsupportedMediaType","Message":"Content-Type : application/json is not supported."
I already have set the Content-Type to "application/json" on the HTTP Header.
Do you have any idea how to fix this? Thanks!