posthog-rails 3.14.2 → 3.14.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/posthog/rails/logs/setup.rb +5 -0
- data/lib/posthog/rails/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7fde2bbef7251e1548ff6baefca7f227a8aeed42dd015a1abe91148614b393fb
|
|
4
|
+
data.tar.gz: 1d730e1c9bbfd5965deebbe075b3949444d1c9a8ebb9e2c7d94160e7220c35da
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7f30b678a37bb1c95f3e11ca227944b561dc909d17210e7812e9014e787bb85723cb8c3df61368b8bdea8e5111c755089f6123cdd1c24881f0a87c2835f43996
|
|
7
|
+
data.tar.gz: ce3637afe35b9d2e6e55aaad5b159b23df93c3b988d3d4e599fa892d10347d1494f6cb3690df95530160e1f5c6b8a3c519fd26d10cd28d4666a1bf777df080e6
|
|
@@ -184,6 +184,11 @@ module PostHog
|
|
|
184
184
|
# The posthog-rails name/version travel with each record via the
|
|
185
185
|
# instrumentation scope (see LoggerProvider#logger above).
|
|
186
186
|
{
|
|
187
|
+
# Identifies these records as the PostHog Ruby SDK so PostHog's usage
|
|
188
|
+
# report can attribute log volume to Ruby (mirrors posthog-ios/android/
|
|
189
|
+
# flutter/react-native). Overrides the OpenTelemetry SDK default of
|
|
190
|
+
# 'opentelemetry'; the posthog-rails integration name stays on the scope.
|
|
191
|
+
'telemetry.sdk.name' => 'posthog-ruby',
|
|
187
192
|
'service.name' => service_name,
|
|
188
193
|
'deployment.environment' => ::Rails.env.to_s
|
|
189
194
|
}
|