mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
Logs Essentials for Observability (#223030)
## Summary disables features under Application for serverless-essentials. ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
c04d1782b7
commit
d157214e1a
14 changed files with 229 additions and 50 deletions
|
@ -29,12 +29,22 @@ export class ServerlessObservabilityPlugin
|
|||
{
|
||||
constructor(_initializerContext: PluginInitializerContext) {}
|
||||
|
||||
public setup(_coreSetup: CoreSetup, pluginsSetup: SetupDependencies) {
|
||||
public setup(
|
||||
_coreSetup: CoreSetup<StartDependencies, ServerlessObservabilityPluginStart>,
|
||||
pluginsSetup: SetupDependencies
|
||||
) {
|
||||
pluginsSetup.serverless.setupProjectSettings([
|
||||
...OBSERVABILITY_PROJECT_SETTINGS,
|
||||
...(pluginsSetup.observabilityAIAssistant ? OBSERVABILITY_AI_ASSISTANT_PROJECT_SETTINGS : []),
|
||||
]);
|
||||
|
||||
_coreSetup.pricing.registerProductFeatures([
|
||||
{
|
||||
id: 'observability:complete_overview',
|
||||
products: [{ name: 'observability', tier: 'complete' }],
|
||||
description:
|
||||
'Observability Overview Complete - Enables overview of the Observability solution.',
|
||||
},
|
||||
]);
|
||||
return {};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue