Skip to content

Commit

Permalink
redirect to observability page
Browse files Browse the repository at this point in the history
  • Loading branch information
abbyhu2000 committed Nov 21, 2023
1 parent 64d5f12 commit 804bd4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/plugins/data/opensearch_dashboards.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"server": true,
"ui": true,
"requiredPlugins": ["expressions", "uiActions"],
"optionalPlugins": ["usageCollection", "dataSource"],
"optionalPlugins": ["usageCollection", "dataSource", "observability-dashboards"],
"extraPublicDirs": ["common", "common/utils/abort_utils", "common/index_patterns/utils.ts"],
"requiredBundles": [
"usageCollection",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,8 @@ export default class QueryStringInputUI extends Component<Props, State> {

private onSelectLanguage = (language: string) => {
if(language === 'PPL'){

this.services.application?.navigateToUrl('../observability-logs#/explorer')
return;
}
// Send telemetry info every time the user opts in or out of kuery
// As a result it is important this function only ever gets called in the
Expand Down

0 comments on commit 804bd4a

Please sign in to comment.