0
0
Fork 0

Add instrumentation to the search services (#30350)

This commit is contained in:
Renaud Chaput 2024-05-24 15:13:23 +02:00 committed by GitHub
parent 8394a150d7
commit acc77c3836
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 55 additions and 20 deletions

View file

@ -66,3 +66,5 @@ if ENV.keys.any? { |name| name.match?(/OTEL_.*_ENDPOINT/) }
c.service_version = Mastodon::Version.to_s
end
end
MastodonOTELTracer = OpenTelemetry.tracer_provider.tracer('mastodon')