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:
Bryce Buchanan 2025-06-24 15:08:51 -07:00 committed by GitHub
parent c04d1782b7
commit d157214e1a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 229 additions and 50 deletions

View file

@ -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 {};
}