Skip to content

Commit f910189

Browse files
authored
Merge pull request #942 from code0-tech/895-add-opentelemetry-support/aquila
Add OpenTelemetry configuration for aquila
2 parents d952dc6 + 5474070 commit f910189

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

container/config-generator/templates/aquila.aquila.yml.erb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,12 @@ runtime_status:
4949

5050
# Frequency of runtime heartbeat checks.
5151
monitor_interval_secs: <%= env('AQUILA_RUNTIME_MONITOR_INTERVAL_SECS', '30') %>
52+
53+
<% if env?('OPENTELEMETRY_ENABLED') %>
54+
opentelemetry:
55+
enabled: true
56+
service_name: <%= env('OPENTELEMETRY_SERVICE_NAME_AQUILA', 'aquila') %>
57+
logs_endpoint: <%= env!('OPENTELEMETRY_GRPC_HOST') %>
58+
metrics_endpoint: <%= env!('OPENTELEMETRY_GRPC_HOST') %>
59+
traces_endpoint: <%= env!('OPENTELEMETRY_GRPC_HOST') %>
60+
<% end %>

0 commit comments

Comments
 (0)