Envoy Stripping Custom Headers

I tried fetching custom header in Prometheus with the changes you suggested:

I added following line in “metric” named “requestcount”:

correlation_id: request.headers[“x-correlation-id”] | “unknown”

I also added the name to "handler named "prometheus:

metrics:
- name: requests_total
  instance_name: requestcount.metric.{{ .Release.Namespace }}
  kind: COUNTER
  label_names:
  - reporter
  - correlation_id

I can see the metric “correlation_id” appearing in prometheus but not able to see any value to it. Its all “unknown”