mirror of
https://github.com/langgenius/dify.git
synced 2025-09-03 14:23:48 +00:00
minor bug fix: wrong default metrics endpoint (#22535)
This commit is contained in:
parent
97f080fa03
commit
853c97a910
@ -205,7 +205,7 @@ def init_app(app: DifyApp):
|
||||
|
||||
metric_endpoint = dify_config.OTLP_METRIC_ENDPOINT
|
||||
if not metric_endpoint:
|
||||
metric_endpoint = dify_config.OTLP_BASE_ENDPOINT + "/v1/traces"
|
||||
metric_endpoint = dify_config.OTLP_BASE_ENDPOINT + "/v1/metrics"
|
||||
metric_exporter = HTTPMetricExporter(
|
||||
endpoint=metric_endpoint,
|
||||
headers=headers,
|
||||
|
Loading…
x
Reference in New Issue
Block a user