-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Logs Essentials for APM/Infra #223030
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Logs Essentials for APM/Infra #223030
Changes from 18 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
e7b9b84
disabled apm plugin, changed default route to /app/observability/over…
8415e44
disables all features under Applications
7133966
Merge branch 'main' into 4494_applications-essentials
bryce-b 48b7b9b
fixed observability-complete
49679d4
Merge branch 'main' into 4494_applications-essentials
bryce-b b2007e4
Merge branch 'main' into 4494_applications-essentials
bryce-b ea9ba68
Disables observability overview for logs essentials
a5011b6
corrected construction of observability routes
307294c
disabled AI assistant in essentials
79ae10b
added tests for pricing feature observability:overview_complete
925bee3
removed unused import
0a49d62
[CI] Auto-commit changed files from 'node scripts/styled_components_m…
kibanamachine 081fbed
duplicate root fleet registery exludes for essentials
b395810
Merge remote-tracking branch 'upstream/main' into 4494_applications-e…
35bfa62
reduced redundant code in test
59b8e37
Merge branch 'main' into 4494_applications-essentials
bryce-b 08982b6
Merge branch 'main' into 4494_applications-essentials
bryce-b 094aa59
Merge branch 'main' into 4494_applications-essentials
bryce-b d272767
Merge branch 'main' into 4494_applications-essentials
bryce-b c07b134
Merge branch 'main' into 4494_applications-essentials
bryce-b 5a719a4
Merge branch 'main' into 4494_applications-essentials
bryce-b f45dc69
Merge branch 'main' into 4494_applications-essentials
bryce-b a76bccd
Merge branch 'main' into 4494_applications-essentials
bryce-b ed6ced0
cleaned up settings
894247d
Merge branch 'main' into 4494_applications-essentials
bryce-b 8f85d65
changed navigation test to use discover, vs landing page
34c92fe
changed test navigation from removed landing page to discover
50aa97b
Merge branch 'main' into 4494_applications-essentials
bryce-b a94ed6b
Merge branch 'main' into 4494_applications-essentials
bryce-b d555b4c
replaced flaky spinner wait in test
317d5ac
updated discover nav method with testSubject validation
6a3f870
Merge branch 'main' into 4494_applications-essentials
bryce-b 61392a0
Merge branch 'main' into 4494_applications-essentials
bryce-b 4fcc6dc
removed default landing page from logs_essentials yml per feedback
0338e43
removed duplicated listing
662e84f
removed uptime from fleet package excludes
5b930b4
Merge branch 'main' into 4494_applications-essentials
bryce-b 1a3bc1a
Merge branch 'main' into 4494_applications-essentials
bryce-b File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
x-pack/solutions/observability/plugins/serverless_observability/jest.config.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| /* | ||
| * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
| * or more contributor license agreements. Licensed under the Elastic License | ||
| * 2.0; you may not use this file except in compliance with the Elastic License | ||
| * 2.0. | ||
| */ | ||
|
|
||
| module.exports = { | ||
| preset: '@kbn/test', | ||
| rootDir: '../../../../..', | ||
| roots: ['<rootDir>/x-pack/solutions/observability/plugins/serverless_observability'], | ||
| coverageDirectory: | ||
| '<rootDir>/target/kibana-coverage/jest/x-pack/solutions/observability/plugins/serverless_observability', | ||
| coverageReporters: ['text', 'html'], | ||
| collectCoverageFrom: [ | ||
| '<rootDir>/x-pack/solutions/observability/plugins/serverless_observability/{common,public,server}/**/*.{js,ts,tsx}', | ||
| ], | ||
| }; |
36 changes: 36 additions & 0 deletions
36
...k/solutions/observability/plugins/serverless_observability/public/navigation_tree.test.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| /* | ||
| * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
| * or more contributor license agreements. Licensed under the Elastic License | ||
| * 2.0; you may not use this file except in compliance with the Elastic License | ||
| * 2.0. | ||
| */ | ||
|
|
||
| import { createNavigationTree } from './navigation_tree'; | ||
| import type { GroupDefinition, AppDeepLinkId } from '@kbn/core-chrome-browser'; | ||
|
|
||
| describe('Navigation Tree', () => { | ||
| it('should generate tree with overview', () => { | ||
| const navigation = createNavigationTree({}); | ||
| expect((navigation.body[0] as GroupDefinition<AppDeepLinkId, string, string>).children).toEqual( | ||
| expect.arrayContaining([ | ||
| { | ||
| title: 'Overview', | ||
| link: 'observability-overview', | ||
| }, | ||
| ]) | ||
| ); | ||
| }); | ||
| it('should not generate tree with overview', () => { | ||
| const navigation = createNavigationTree({ overviewAvailable: false }); | ||
| expect( | ||
| (navigation.body[0] as GroupDefinition<AppDeepLinkId, string, string>).children | ||
| ).not.toEqual( | ||
| expect.arrayContaining([ | ||
| { | ||
| title: 'Overview', | ||
| link: 'observability-overview', | ||
| }, | ||
| ]) | ||
| ); | ||
| }); | ||
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.