Skip to content

Commit 0723ee9

Browse files
[Observability] Add managedOtlpServiceUrl property to observability schema (#225635)
This change adds `managedOtlpServiceUrl` schema property that will be populated for serverless projects and be used during onboarding for getting the URL of the OTLP managed service. At the moment this URL comes from the APM plugin, but it needs to be decoupled as APM won't be available in Logs Essentials. At the same time the property is put into the high-level `observability` plugin as it might be used by other plugins in the future.
1 parent 274f30f commit 0723ee9

File tree

1 file changed

+3
-0
lines changed
  • x-pack/solutions/observability/plugins/observability/server

1 file changed

+3
-0
lines changed

x-pack/solutions/observability/plugins/observability/server/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ const configSchema = schema.object({
8181
}),
8282
enabled: schema.boolean({ defaultValue: true }),
8383
createO11yGenericFeatureId: schema.boolean({ defaultValue: false }),
84+
managedOtlpServiceUrl: offeringBasedSchema({
85+
serverless: schema.string({ defaultValue: '' }),
86+
}),
8487
});
8588

8689
export const config: PluginConfigDescriptor = {

0 commit comments

Comments
 (0)