refactor: Remove SQLITE_DB_PATH

This commit modifies the `sqlite_db_path` in various telemetry configuration files to use the environment variable `SQLITE_STORE_DIR` instead of `SQLITE_DB_PATH`. This change ensures that _only_ the SQLITE_STORE_DIR needs to be set to point to a different persistence location for providers.
This commit is contained in:
Roland Huß 2025-04-29 12:31:52 +02:00
parent 934446ddb4
commit 36373e44f2
No known key found for this signature in database
GPG key ID: 81D53EB87CDFBC34
35 changed files with 36 additions and 36 deletions

View file

@ -54,5 +54,5 @@ class TelemetryConfig(BaseModel):
return {
"service_name": "${env.OTEL_SERVICE_NAME:}",
"sinks": "${env.TELEMETRY_SINKS:console,sqlite}",
"sqlite_db_path": "${env.SQLITE_DB_PATH:" + __distro_dir__ + "/" + db_name + "}",
"sqlite_db_path": "${env.SQLITE_STORE_DIR:" + __distro_dir__ + "}/" + db_name,
}