kibana/api_docs/profiling_data_access.devdocs.json

487 lines
No EOL
16 KiB
JSON

{
"id": "profilingDataAccess",
"client": {
"classes": [],
"functions": [],
"interfaces": [],
"enums": [],
"misc": [],
"objects": []
},
"server": {
"classes": [],
"functions": [],
"interfaces": [],
"enums": [],
"misc": [
{
"parentPluginId": "profilingDataAccess",
"id": "def-server.ProfilingConfig",
"type": "Type",
"tags": [],
"label": "ProfilingConfig",
"description": [],
"signature": [
"{ readonly elasticsearch?: Readonly<{} & { username: string; hosts: string; password: string; }> | undefined; }"
],
"path": "x-pack/plugins/profiling_data_access/server/index.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
},
{
"parentPluginId": "profilingDataAccess",
"id": "def-server.ProfilingDataAccessPluginStart",
"type": "Type",
"tags": [],
"label": "ProfilingDataAccessPluginStart",
"description": [],
"signature": [
"{ services: { fetchFlamechartData: ({ esClient, rangeFromMs, rangeToMs, kuery }: ",
"FetchFlamechartParams",
") => Promise<",
{
"pluginId": "@kbn/profiling-utils",
"scope": "common",
"docId": "kibKbnProfilingUtilsPluginApi",
"section": "def-common.BaseFlameGraph",
"text": "BaseFlameGraph"
},
">; getStatus: ({ esClient, soClient, spaceId }: ",
"HasSetupParams",
") => Promise<",
{
"pluginId": "@kbn/profiling-utils",
"scope": "common",
"docId": "kibKbnProfilingUtilsPluginApi",
"section": "def-common.ProfilingStatus",
"text": "ProfilingStatus"
},
">; getSetupState: (options: ",
"ProfilingSetupOptions",
", clientWithProfilingAuth: ",
"ProfilingESClient",
") => Promise<",
"SetupState",
">; fetchFunction: ({ esClient, rangeFromMs, rangeToMs, kuery, startIndex, endIndex, }: ",
"FetchFunctionsParams",
") => Promise<",
{
"pluginId": "@kbn/profiling-utils",
"scope": "common",
"docId": "kibKbnProfilingUtilsPluginApi",
"section": "def-common.TopNFunctions",
"text": "TopNFunctions"
},
">; }; }"
],
"path": "x-pack/plugins/profiling_data_access/server/plugin.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
}
],
"objects": [],
"start": {
"parentPluginId": "profilingDataAccess",
"id": "def-server.ProfilingDataAccessPluginSetup",
"type": "Type",
"tags": [],
"label": "ProfilingDataAccessPluginSetup",
"description": [],
"signature": [
"void"
],
"path": "x-pack/plugins/profiling_data_access/server/plugin.ts",
"deprecated": false,
"trackAdoption": false,
"lifecycle": "start",
"initialIsOpen": true
}
},
"common": {
"classes": [],
"functions": [
{
"parentPluginId": "profilingDataAccess",
"id": "def-common.getApmPolicy",
"type": "Function",
"tags": [],
"label": "getApmPolicy",
"description": [],
"signature": [
"({\n packagePolicyClient,\n soClient,\n}: { packagePolicyClient: ",
{
"pluginId": "fleet",
"scope": "server",
"docId": "kibFleetPluginApi",
"section": "def-server.PackagePolicyClient",
"text": "PackagePolicyClient"
},
"; soClient: ",
{
"pluginId": "@kbn/core-saved-objects-api-server",
"scope": "common",
"docId": "kibKbnCoreSavedObjectsApiServerPluginApi",
"section": "def-common.SavedObjectsClientContract",
"text": "SavedObjectsClientContract"
},
"; }) => Promise<",
{
"pluginId": "fleet",
"scope": "common",
"docId": "kibFleetPluginApi",
"section": "def-common.PackagePolicy",
"text": "PackagePolicy"
},
" | null>"
],
"path": "x-pack/plugins/profiling_data_access/common/get_apm_policy.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "profilingDataAccess",
"id": "def-common.getApmPolicy.$1",
"type": "Object",
"tags": [],
"label": "{\n packagePolicyClient,\n soClient,\n}",
"description": [],
"path": "x-pack/plugins/profiling_data_access/common/get_apm_policy.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "profilingDataAccess",
"id": "def-common.getApmPolicy.$1.packagePolicyClient",
"type": "Object",
"tags": [],
"label": "packagePolicyClient",
"description": [],
"signature": [
{
"pluginId": "fleet",
"scope": "server",
"docId": "kibFleetPluginApi",
"section": "def-server.PackagePolicyClient",
"text": "PackagePolicyClient"
}
],
"path": "x-pack/plugins/profiling_data_access/common/get_apm_policy.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "profilingDataAccess",
"id": "def-common.getApmPolicy.$1.soClient",
"type": "Object",
"tags": [],
"label": "soClient",
"description": [],
"signature": [
{
"pluginId": "@kbn/core-saved-objects-api-server",
"scope": "common",
"docId": "kibKbnCoreSavedObjectsApiServerPluginApi",
"section": "def-common.SavedObjectsClientContract",
"text": "SavedObjectsClientContract"
}
],
"path": "x-pack/plugins/profiling_data_access/common/get_apm_policy.ts",
"deprecated": false,
"trackAdoption": false
}
]
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "profilingDataAccess",
"id": "def-common.getCollectorPolicy",
"type": "Function",
"tags": [],
"label": "getCollectorPolicy",
"description": [],
"signature": [
"({\n soClient,\n packagePolicyClient,\n}: { packagePolicyClient: ",
{
"pluginId": "fleet",
"scope": "server",
"docId": "kibFleetPluginApi",
"section": "def-server.PackagePolicyClient",
"text": "PackagePolicyClient"
},
"; soClient: ",
{
"pluginId": "@kbn/core-saved-objects-api-server",
"scope": "common",
"docId": "kibKbnCoreSavedObjectsApiServerPluginApi",
"section": "def-common.SavedObjectsClientContract",
"text": "SavedObjectsClientContract"
},
"; }) => Promise<",
{
"pluginId": "fleet",
"scope": "common",
"docId": "kibFleetPluginApi",
"section": "def-common.PackagePolicy",
"text": "PackagePolicy"
},
" | undefined>"
],
"path": "x-pack/plugins/profiling_data_access/common/fleet_policies.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "profilingDataAccess",
"id": "def-common.getCollectorPolicy.$1",
"type": "Object",
"tags": [],
"label": "{\n soClient,\n packagePolicyClient,\n}",
"description": [],
"path": "x-pack/plugins/profiling_data_access/common/fleet_policies.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "profilingDataAccess",
"id": "def-common.getCollectorPolicy.$1.packagePolicyClient",
"type": "Object",
"tags": [],
"label": "packagePolicyClient",
"description": [],
"signature": [
{
"pluginId": "fleet",
"scope": "server",
"docId": "kibFleetPluginApi",
"section": "def-server.PackagePolicyClient",
"text": "PackagePolicyClient"
}
],
"path": "x-pack/plugins/profiling_data_access/common/fleet_policies.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "profilingDataAccess",
"id": "def-common.getCollectorPolicy.$1.soClient",
"type": "Object",
"tags": [],
"label": "soClient",
"description": [],
"signature": [
{
"pluginId": "@kbn/core-saved-objects-api-server",
"scope": "common",
"docId": "kibKbnCoreSavedObjectsApiServerPluginApi",
"section": "def-common.SavedObjectsClientContract",
"text": "SavedObjectsClientContract"
}
],
"path": "x-pack/plugins/profiling_data_access/common/fleet_policies.ts",
"deprecated": false,
"trackAdoption": false
}
]
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "profilingDataAccess",
"id": "def-common.getSymbolizerPolicy",
"type": "Function",
"tags": [],
"label": "getSymbolizerPolicy",
"description": [],
"signature": [
"({\n soClient,\n packagePolicyClient,\n}: { packagePolicyClient: ",
{
"pluginId": "fleet",
"scope": "server",
"docId": "kibFleetPluginApi",
"section": "def-server.PackagePolicyClient",
"text": "PackagePolicyClient"
},
"; soClient: ",
{
"pluginId": "@kbn/core-saved-objects-api-server",
"scope": "common",
"docId": "kibKbnCoreSavedObjectsApiServerPluginApi",
"section": "def-common.SavedObjectsClientContract",
"text": "SavedObjectsClientContract"
},
"; }) => Promise<",
{
"pluginId": "fleet",
"scope": "common",
"docId": "kibFleetPluginApi",
"section": "def-common.PackagePolicy",
"text": "PackagePolicy"
},
" | undefined>"
],
"path": "x-pack/plugins/profiling_data_access/common/fleet_policies.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "profilingDataAccess",
"id": "def-common.getSymbolizerPolicy.$1",
"type": "Object",
"tags": [],
"label": "{\n soClient,\n packagePolicyClient,\n}",
"description": [],
"path": "x-pack/plugins/profiling_data_access/common/fleet_policies.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "profilingDataAccess",
"id": "def-common.getSymbolizerPolicy.$1.packagePolicyClient",
"type": "Object",
"tags": [],
"label": "packagePolicyClient",
"description": [],
"signature": [
{
"pluginId": "fleet",
"scope": "server",
"docId": "kibFleetPluginApi",
"section": "def-server.PackagePolicyClient",
"text": "PackagePolicyClient"
}
],
"path": "x-pack/plugins/profiling_data_access/common/fleet_policies.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "profilingDataAccess",
"id": "def-common.getSymbolizerPolicy.$1.soClient",
"type": "Object",
"tags": [],
"label": "soClient",
"description": [],
"signature": [
{
"pluginId": "@kbn/core-saved-objects-api-server",
"scope": "common",
"docId": "kibKbnCoreSavedObjectsApiServerPluginApi",
"section": "def-common.SavedObjectsClientContract",
"text": "SavedObjectsClientContract"
}
],
"path": "x-pack/plugins/profiling_data_access/common/fleet_policies.ts",
"deprecated": false,
"trackAdoption": false
}
]
}
],
"returnComment": [],
"initialIsOpen": false
}
],
"interfaces": [],
"enums": [],
"misc": [
{
"parentPluginId": "profilingDataAccess",
"id": "def-common.COLLECTOR_PACKAGE_POLICY_NAME",
"type": "string",
"tags": [],
"label": "COLLECTOR_PACKAGE_POLICY_NAME",
"description": [],
"signature": [
"\"elastic-universal-profiling-collector\""
],
"path": "x-pack/plugins/profiling_data_access/common/fleet_policies.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
},
{
"parentPluginId": "profilingDataAccess",
"id": "def-common.ELASTIC_CLOUD_APM_POLICY",
"type": "string",
"tags": [],
"label": "ELASTIC_CLOUD_APM_POLICY",
"description": [],
"signature": [
"\"elastic-cloud-apm\""
],
"path": "x-pack/plugins/profiling_data_access/common/get_apm_policy.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
},
{
"parentPluginId": "profilingDataAccess",
"id": "def-common.MAX_BUCKETS",
"type": "number",
"tags": [],
"label": "MAX_BUCKETS",
"description": [],
"signature": [
"150000"
],
"path": "x-pack/plugins/profiling_data_access/common/cluster_settings.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
},
{
"parentPluginId": "profilingDataAccess",
"id": "def-common.METADATA_VERSION",
"type": "number",
"tags": [],
"label": "METADATA_VERSION",
"description": [],
"signature": [
"1"
],
"path": "x-pack/plugins/profiling_data_access/common/security_role.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
},
{
"parentPluginId": "profilingDataAccess",
"id": "def-common.PROFILING_READER_ROLE_NAME",
"type": "string",
"tags": [],
"label": "PROFILING_READER_ROLE_NAME",
"description": [],
"signature": [
"\"profiling-reader\""
],
"path": "x-pack/plugins/profiling_data_access/common/security_role.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
},
{
"parentPluginId": "profilingDataAccess",
"id": "def-common.SYMBOLIZER_PACKAGE_POLICY_NAME",
"type": "string",
"tags": [],
"label": "SYMBOLIZER_PACKAGE_POLICY_NAME",
"description": [],
"signature": [
"\"elastic-universal-profiling-symbolizer\""
],
"path": "x-pack/plugins/profiling_data_access/common/fleet_policies.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
}
],
"objects": []
}
}