feat(matrix-sliding-sync): add opentelemetry suppor
This commit is contained in:
parent
514f95ee35
commit
00f54c07ed
4 changed files with 32 additions and 2 deletions
|
@ -4,7 +4,7 @@ name: matrix-sliding-sync
|
||||||
description: Proxy implementation of MSC3575's sync protocol.
|
description: Proxy implementation of MSC3575's sync protocol.
|
||||||
icon: https://matrix.org/images/matrix-logo.svg
|
icon: https://matrix.org/images/matrix-logo.svg
|
||||||
type: application
|
type: application
|
||||||
version: 0.1.3
|
version: 0.2.0
|
||||||
# renovate: image=ghcr.io/matrix-org/sliding-sync
|
# renovate: image=ghcr.io/matrix-org/sliding-sync
|
||||||
appVersion: "0.99.19"
|
appVersion: "0.99.19"
|
||||||
maintainers:
|
maintainers:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
= matrix-sliding-sync
|
= matrix-sliding-sync
|
||||||
|
|
||||||
image::https://img.shields.io/badge/Version-0.1.3-informational?style=flat-square[Version: 0.1.3]
|
image::https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square[Version: 0.2.0]
|
||||||
image::https://img.shields.io/badge/Version-application-informational?style=flat-square[Type: application]
|
image::https://img.shields.io/badge/Version-application-informational?style=flat-square[Type: application]
|
||||||
image::https://img.shields.io/badge/AppVersion-0.99.19-informational?style=flat-square[AppVersion: 0.99.19]
|
image::https://img.shields.io/badge/AppVersion-0.99.19-informational?style=flat-square[AppVersion: 0.99.19]
|
||||||
== Maintainers
|
== Maintainers
|
||||||
|
@ -87,6 +87,21 @@ helm uninstall matrix-sliding-sync-release
|
||||||
| `9100`
|
| `9100`
|
||||||
|
|
|
|
||||||
|
|
||||||
|
| config.opentelemetry.password
|
||||||
|
| string
|
||||||
|
| `nil`
|
||||||
|
|
|
||||||
|
|
||||||
|
| config.opentelemetry.url
|
||||||
|
| string
|
||||||
|
| `nil`
|
||||||
|
|
|
||||||
|
|
||||||
|
| config.opentelemetry.username
|
||||||
|
| string
|
||||||
|
| `nil`
|
||||||
|
|
|
||||||
|
|
||||||
| config.postgresql.database
|
| config.postgresql.database
|
||||||
| string
|
| string
|
||||||
| `"sliding_sync"`
|
| `"sliding_sync"`
|
||||||
|
|
|
@ -27,5 +27,16 @@ data:
|
||||||
{{- with .Values.config.metrics }}
|
{{- with .Values.config.metrics }}
|
||||||
SYNCV3_PROM: {{ printf ":%v" . | b64enc }}
|
SYNCV3_PROM: {{ printf ":%v" . | b64enc }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.config.opentelemetry }}
|
||||||
|
{{- with .url }}
|
||||||
|
SYNCV3_OTLP_URL: {{ . | b64enc }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .username }}
|
||||||
|
SYNCV3_OTLP_USERNAME: {{ . | b64enc }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .password }}
|
||||||
|
SYNCV3_OTLP_PASSWORD: {{ . | b64enc }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
SYNCV3_LOG_LEVEL: {{ .Values.config.logLevel | b64enc }}
|
SYNCV3_LOG_LEVEL: {{ .Values.config.logLevel | b64enc }}
|
||||||
SYNCV3_MAX_DB_CONN: {{ toString .Values.config.postgresql.maxConn | b64enc }}
|
SYNCV3_MAX_DB_CONN: {{ toString .Values.config.postgresql.maxConn | b64enc }}
|
||||||
|
|
|
@ -27,6 +27,10 @@ config:
|
||||||
sslmode: disable
|
sslmode: disable
|
||||||
maxConn: 0
|
maxConn: 0
|
||||||
metrics: 9100
|
metrics: 9100
|
||||||
|
opentelemetry:
|
||||||
|
url:
|
||||||
|
username:
|
||||||
|
password:
|
||||||
logLevel: INFO
|
logLevel: INFO
|
||||||
|
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
|
|
Loading…
Add table
Reference in a new issue