kibana/x-pack/plugins/infra/kibana.jsonc
Mykola Harmash 3f9b2ce448
[ObsUX] Add Profiling tab to Asset Details (#171764)
## Summary

This adds a new "Universal Profiling" tab to asset details with a
flamegrapth for a selected host. The tab is behind a feature flag and is
disabled by default. It will be enabled by default for clound/onprem
once we implement Profiling empty state, serverless is tbd.

* Added two new endpoints for fetching profiling status (not used by the
FE yet) and flamegraph data.
* Added a `profilingEnabled` feature flag
* Added a new tab in the UI and integrated the Flamegraph embeddable

![CleanShot 2023-11-22 at 16 38
00@2x](acc789df-00c0-45af-878a-39fa5e2064cc)


## How to test

* Connect local kibana to oblt cluster that has Profiling configured
(e.g. edge)
* Add this to your dev `kibana.yml`
```
xpack.profiling.enabled: true
xpack.infra.profilingEnabled: true

# Direct ES URL on the oblt cluster that you're using, in case of edge it's https://edge-oblt.es.us-west2.gcp.elastic-cloud.com:443
xpack.profiling.elasticsearch.hosts: REMOTE_CLUSTER_ES_URL

# If needed create a new user on the remote oblt cluster
xpack.profiling.elasticsearch.username: REMOTE_CLUSTER_USER
xpack.profiling.elasticsearch.password: REMOTE_CLUSTER_PASWORD
```

* Open kibana, go to Hosts
* Open a flyout for one of the hosts and make sure you see the Profiling
tab with a flamegraph
* Open Host details as a full page and also make sure you see the new
tab

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-11-27 10:28:32 +01:00

52 lines
1.3 KiB
JSON

{
"type": "plugin",
"id": "@kbn/infra-plugin",
"owner": ["@elastic/infra-monitoring-ui", "@elastic/obs-ux-logs-team", "@elastic/obs-ux-infra_services-team"],
"description": "This plugin visualizes data from Filebeat and Metricbeat, and integrates with other Observability solutions",
"plugin": {
"id": "infra",
"server": true,
"browser": true,
"configPath": ["xpack", "infra"],
"requiredPlugins": [
"aiops",
"alerting",
"cases",
"charts",
"data",
"dataViews",
"dataViewEditor",
"discover",
"embeddable",
"features",
"fieldFormats",
"lens",
"logsShared",
"metricsDataAccess",
"observability",
"observabilityAIAssistant",
"observabilityShared",
"ruleRegistry",
"security",
"share",
"triggersActionsUi",
"uiActions",
"unifiedSearch",
"usageCollection",
"visTypeTimeseries"
],
"optionalPlugins": ["spaces", "ml", "home", "embeddable", "osquery", "cloud", "profilingDataAccess"],
"requiredBundles": [
"unifiedSearch",
"observability",
"observabilityAIAssistant",
"licenseManagement",
"kibanaUtils",
"kibanaReact",
"ml",
"embeddable",
"controls",
"advancedSettings"
]
}
}