Feature flag to OTLP tracing

This commit is contained in:
Stefan Ceriu
2023-08-23 19:15:38 +03:00
committed by Stefan Ceriu
parent 63d90eeb3e
commit ecc549b280
12 changed files with 145 additions and 27 deletions
+6
View File
@@ -90,5 +90,11 @@
<string>$(KEYCHAIN_ACCESS_GROUP_IDENTIFIER)</string>
<key>mapLibreAPIKey</key>
<string>$(MAPLIBRE_API_KEY)</string>
<key>otlpTracingPassword</key>
<string>${OTLP_TRACING_PASSWORD}</string>
<key>otlpTracingURL</key>
<string>${OTLP_TRACING_URL}</string>
<key>otlpTracingUsername</key>
<string>${OTLP_TRACING_USERNAME}</string>
</dict>
</plist>
+12
View File
@@ -17,4 +17,16 @@
// Configuration settings file format documentation can be found at:
// https://help.apple.com/xcode/#/dev745c5c974
// MARK: - MapLibre
MAPLIBRE_API_KEY = your_key
// MARK: - OTLP Tracing
// URLs need special treatment to work properly in xcconfig files
// https://stackoverflow.com/a/36297483/730924
// i.e. make sure to use https:/$()/ in the scheme in the stored secret
OTLP_TRACING_URL = otlp_endpoint
OTLP_TRACING_USERNAME = otlp_username
OTLP_TRACING_PASSWORD = otlp_password
+4 -1
View File
@@ -80,7 +80,6 @@ targets:
BGTaskSchedulerPermittedIdentifiers: [
io.element.elementx.background.refresh
]
mapLibreAPIKey: $(MAPLIBRE_API_KEY)
UTExportedTypeDeclarations:
- UTTypeConformsTo: [public.text]
UTTypeDescription: Mention Pills
@@ -91,6 +90,10 @@ targets:
LSHandlerRank: Owner
LSItemContentTypes: $(PILLS_UT_TYPE_IDENTIFIER)
LSSupportsOpeningDocumentsInPlace: false
mapLibreAPIKey: $(MAPLIBRE_API_KEY)
otlpTracingURL: ${OTLP_TRACING_URL}
otlpTracingUsername: ${OTLP_TRACING_USERNAME}
otlpTracingPassword: ${OTLP_TRACING_PASSWORD}
settings: