From d6c37c1065e3410cc7db9630c1839a295134afd2 Mon Sep 17 00:00:00 2001 From: Sheen Capadngan Date: Wed, 20 Nov 2024 01:01:41 +0800 Subject: [PATCH] misc: added metrics setup to self-host docs --- docs/self-hosting/configuration/envars.mdx | 42 ++++++++++++++++++++-- 1 file changed, 39 insertions(+), 3 deletions(-) diff --git a/docs/self-hosting/configuration/envars.mdx b/docs/self-hosting/configuration/envars.mdx index 3890547a1..2e21410a8 100644 --- a/docs/self-hosting/configuration/envars.mdx +++ b/docs/self-hosting/configuration/envars.mdx @@ -30,7 +30,8 @@ Used to configure platform-specific security and operational settings - Telemetry helps us improve Infisical but if you want to dsiable it you may set this to `false`. + Telemetry helps us improve Infisical but if you want to disable it you may set + this to `false`. ## Data Layer @@ -65,8 +66,9 @@ DB_READ_REPLICAS=[{"DB_CONNECTION_URI":""}] Use the command below to encode your certificate: `echo "" | base64` - If not provided it will use master SSL certificate. + If not provided it will use master SSL certificate. + @@ -350,8 +352,9 @@ Optional (for TLS/SSL): TLS: Available on the same ports (2525, 80, 25, 8025, or 587) SSL: Available on ports 465, 8465, and 443 + - + ## Authentication @@ -518,3 +521,36 @@ To help you sync secrets from Infisical to services such as Github and Gitlab, I OAuth2 client secret for Gitlab integration + +## Observability + +You can configure Infisical to collect and expose telemetry data for analytics and monitoring. + + + Whether or not to collect and expose telemetry data. + + + + Supported types are `prometheus` and `otlp`. + +If export type is set to `prometheus`, metric data will be exposed in port 9464 in the `/metrics` path. + +If export type is set to `otlp`, you will have to configure a value for `OTEL_EXPORT_OTLP_ENDPOINT`. + + + + + Where telemetry data would be pushed to for collection. This is only + applicable when `OTEL_EXPORT_TYPE` is set to `otlp`. + + + + The username for authenticating with the telemetry collector. + + + The password for authenticating with the telemetry collector. +