Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## master / unreleased

* [FEATURE] Add remote-write OTLP endpoint in nginx

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* [FEATURE] Add remote-write OTLP endpoint in nginx
* [FEATURE] Add remote-write OTLP endpoint in nginx #667

* [DEPENDENCY] update kiwigrid/k8s-sidecar docker tag to v2.11.2 #663

## 3.3.8 / 2026-08-17
Expand Down
10 changes: 10 additions & 0 deletions templates/nginx/nginx-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@ data:
location = /api/v1/push {
proxy_pass {{ $push_endpoint }}$request_uri;
}

## OTLP metrics API
location = /api/v1/otlp/v1/metrics {
proxy_pass {{ $push_endpoint }}$request_uri;
}
{{- end }}

{{- if .Values.alertmanager.enabled }}
Expand Down Expand Up @@ -162,6 +167,11 @@ data:
proxy_set_header X-Scope-OrgID {{ $org }};
proxy_pass {{ $.Values.nginx.config.upstream_protocol }}://{{ template "cortex.fullname" $ }}-distributor.{{ $rootDomain }}/api/v1/push;
}

location = /api/v1/otlp/v1/metrics/{{ $org }} {
proxy_set_header X-Scope-OrgID {{ $org }};
proxy_pass {{ $.Values.nginx.config.upstream_protocol }}://{{ template "cortex.fullname" $ }}-distributor.{{ $rootDomain }}/api/v1/otlp/v1/metrics;
}
{{- end }}
{{- end }}
}
Expand Down
Loading