I'm using Prometheus (via opentelemetry-collector) to scrape metrics in a URL that has to have a %2F in it's URL. The %2F encoding sequence gets encoded to %252F.
Example:
metrics_path: /path/to%2Fmetrics gets encoded to /path/to%252Fmetrics
The %2F has a semantic meaning, so I cannot pre-process it to convert it to a /
Is there anything I can do to avoid this? Tried the most obvious escape characters but none worked.