@opensearch-project/opensearch 3.0.0-beta.7 → 3.0.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/{OpenSearchAPI.d.ts → OpenSearchApi.d.ts} +213 -5
- package/api/{OpenSearchAPI.js → OpenSearchApi.js} +13 -0
- package/api/_core/bulk.d.ts +6 -6
- package/api/_core/bulk.js +1 -1
- package/api/_core/bulkStream.d.ts +52 -0
- package/api/_core/bulkStream.js +61 -0
- package/api/_core/clearScroll.d.ts +5 -5
- package/api/_core/clearScroll.js +2 -2
- package/api/_core/count.d.ts +7 -7
- package/api/_core/count.js +4 -4
- package/api/_core/create.d.ts +4 -4
- package/api/_core/createPit.d.ts +5 -5
- package/api/_core/createPit.js +3 -3
- package/api/_core/delete.d.ts +4 -4
- package/api/_core/deleteAllPits.d.ts +3 -3
- package/api/_core/deleteByQuery.d.ts +7 -22
- package/api/_core/deleteByQuery.js +8 -8
- package/api/_core/deleteByQueryRethrottle.d.ts +3 -3
- package/api/_core/deletePit.d.ts +5 -5
- package/api/_core/deleteScript.d.ts +3 -3
- package/api/_core/deleteScript.js +1 -1
- package/api/_core/exists.d.ts +6 -6
- package/api/_core/exists.js +2 -2
- package/api/_core/existsSource.d.ts +6 -6
- package/api/_core/existsSource.js +3 -3
- package/api/_core/explain.d.ts +7 -7
- package/api/_core/explain.js +1 -1
- package/api/_core/fieldCaps.d.ts +5 -7
- package/api/_core/fieldCaps.js +6 -6
- package/api/_core/get.d.ts +6 -6
- package/api/_core/get.js +3 -3
- package/api/_core/getAllPits.d.ts +3 -3
- package/api/_core/getScript.d.ts +4 -4
- package/api/_core/getScriptContext.d.ts +3 -3
- package/api/_core/getScriptLanguages.d.ts +3 -3
- package/api/_core/getSource.d.ts +6 -6
- package/api/_core/getSource.js +4 -4
- package/api/_core/index.d.ts +4 -4
- package/api/_core/index.js +1 -1
- package/api/_core/info.d.ts +3 -3
- package/api/_core/mget.d.ts +8 -8
- package/api/_core/mget.js +3 -3
- package/api/_core/msearch.d.ts +3 -3
- package/api/_core/msearch.js +4 -4
- package/api/_core/msearchTemplate.d.ts +4 -4
- package/api/_core/msearchTemplate.js +2 -2
- package/api/_core/mtermvectors.d.ts +6 -6
- package/api/_core/mtermvectors.js +3 -3
- package/api/_core/ping.d.ts +1 -1
- package/api/_core/putScript.d.ts +4 -4
- package/api/_core/putScript.js +3 -3
- package/api/_core/rankEval.d.ts +6 -6
- package/api/_core/rankEval.js +5 -5
- package/api/_core/reindex.d.ts +6 -21
- package/api/_core/reindex.js +1 -1
- package/api/_core/reindexRethrottle.d.ts +4 -4
- package/api/_core/renderSearchTemplate.d.ts +5 -5
- package/api/_core/renderSearchTemplate.js +2 -2
- package/api/_core/scriptsPainlessExecute.d.ts +6 -6
- package/api/_core/scroll.d.ts +4 -4
- package/api/_core/scroll.js +2 -2
- package/api/_core/search.d.ts +7 -10
- package/api/_core/search.js +9 -9
- package/api/_core/searchShards.d.ts +5 -5
- package/api/_core/searchShards.js +4 -4
- package/api/_core/searchTemplate.d.ts +6 -6
- package/api/_core/searchTemplate.js +6 -6
- package/api/_core/termvectors.d.ts +6 -6
- package/api/_core/termvectors.js +2 -2
- package/api/_core/update.d.ts +6 -6
- package/api/_core/update.js +3 -3
- package/api/_core/updateByQuery.d.ts +7 -22
- package/api/_core/updateByQuery.js +8 -8
- package/api/_core/updateByQueryRethrottle.d.ts +4 -4
- package/api/_types/_common.aggregations.d.ts +195 -193
- package/api/_types/_common.analysis.d.ts +117 -90
- package/api/_types/_common.d.ts +217 -169
- package/api/_types/_common.mapping.d.ts +96 -162
- package/api/_types/_common.query_dsl.d.ts +94 -88
- package/api/_types/_core._common.d.ts +4 -4
- package/api/_types/_core.bulk.d.ts +9 -9
- package/api/_types/_core.explain.d.ts +4 -4
- package/api/_types/_core.field_caps.d.ts +1 -6
- package/api/_types/_core.get.d.ts +1 -1
- package/api/_types/_core.get_script_context.d.ts +3 -3
- package/api/_types/_core.get_script_languages.d.ts +1 -1
- package/api/_types/_core.mget.d.ts +3 -3
- package/api/_types/_core.msearch.d.ts +6 -8
- package/api/_types/_core.msearch_template.d.ts +2 -2
- package/api/_types/_core.mtermvectors.d.ts +2 -2
- package/api/_types/_core.rank_eval.d.ts +13 -13
- package/api/_types/_core.reindex.d.ts +3 -5
- package/api/_types/_core.reindex_rethrottle.d.ts +3 -3
- package/api/_types/_core.scripts_painless_execute.d.ts +1 -1
- package/api/_types/_core.search.d.ts +41 -40
- package/api/_types/_core.search_shards.d.ts +1 -1
- package/api/_types/_core.termvectors.d.ts +5 -5
- package/api/_types/_core.update.d.ts +1 -1
- package/api/_types/_core.update_by_query_rethrottle.d.ts +1 -1
- package/api/_types/_global.d.ts +1 -1
- package/api/_types/asynchronous_search._common.d.ts +7 -9
- package/api/_types/cat._common.d.ts +5 -4
- package/api/_types/cat.aliases.d.ts +1 -1
- package/api/_types/cat.allocation.d.ts +2 -2
- package/api/_types/cat.cluster_manager.d.ts +1 -1
- package/api/_types/cat.count.d.ts +1 -1
- package/api/_types/cat.fielddata.d.ts +1 -1
- package/api/_types/cat.health.d.ts +2 -2
- package/api/_types/cat.indices.d.ts +1 -1
- package/api/_types/cat.master.d.ts +1 -1
- package/api/_types/cat.nodeattrs.d.ts +1 -1
- package/api/_types/cat.nodes.d.ts +5 -5
- package/api/_types/cat.pending_tasks.d.ts +1 -1
- package/api/_types/cat.plugins.d.ts +1 -1
- package/api/_types/cat.recovery.d.ts +4 -4
- package/api/_types/cat.repositories.d.ts +1 -1
- package/api/_types/cat.segments.d.ts +2 -2
- package/api/_types/cat.shards.d.ts +1 -1
- package/api/_types/cat.snapshots.d.ts +1 -1
- package/api/_types/cat.tasks.d.ts +1 -1
- package/api/_types/cat.templates.d.ts +1 -1
- package/api/_types/cat.thread_pool.d.ts +1 -1
- package/api/_types/cluster._common.d.ts +4 -5
- package/api/_types/cluster.allocation_explain.d.ts +20 -20
- package/api/_types/cluster.health.d.ts +6 -5
- package/api/_types/cluster.pending_tasks.d.ts +1 -1
- package/api/_types/cluster.remote_info.d.ts +2 -2
- package/api/_types/cluster.reroute.d.ts +10 -8
- package/api/_types/cluster.stats.d.ts +88 -102
- package/api/_types/cluster.weighted_routing.d.ts +3 -3
- package/api/_types/dangling_indices.list_dangling_indices.d.ts +1 -1
- package/api/_types/flow_framework.common.d.ts +131 -7
- package/api/_types/flow_framework.errors.d.ts +90 -9
- package/api/_types/indices._common.d.ts +202 -212
- package/api/_types/indices.add_block.d.ts +1 -1
- package/api/_types/indices.analyze.d.ts +6 -6
- package/api/_types/indices.close.d.ts +2 -2
- package/api/_types/indices.data_streams_stats.d.ts +3 -3
- package/api/_types/indices.get_alias.d.ts +1 -1
- package/api/_types/indices.get_field_mapping.d.ts +1 -1
- package/api/_types/indices.get_index_template.d.ts +2 -2
- package/api/_types/indices.get_mapping.d.ts +1 -1
- package/api/_types/indices.put_index_template.d.ts +2 -3
- package/api/_types/indices.recovery.d.ts +25 -21
- package/api/_types/indices.resolve_index.d.ts +3 -3
- package/api/_types/indices.rollover.d.ts +9 -9
- package/api/_types/indices.segments.d.ts +8 -8
- package/api/_types/indices.shard_stores.d.ts +6 -6
- package/api/_types/indices.simulate_template.d.ts +3 -3
- package/api/_types/indices.stats.d.ts +18 -16
- package/api/_types/indices.update_aliases.d.ts +4 -4
- package/api/_types/indices.validate_query.d.ts +1 -1
- package/api/_types/ingest._common.d.ts +39 -39
- package/api/_types/ingest.simulate.d.ts +4 -4
- package/api/_types/insights._common.d.ts +95 -0
- package/api/_types/ism._common.d.ts +259 -0
- package/api/_types/ml._common.d.ts +130 -12
- package/api/_types/nodes._common.d.ts +187 -181
- package/api/_types/nodes.info.d.ts +60 -60
- package/api/_types/nodes.reload_secure_settings.d.ts +2 -2
- package/api/_types/nodes.stats.d.ts +2 -2
- package/api/_types/nodes.usage.d.ts +2 -2
- package/api/_types/notifications._common.d.ts +21 -21
- package/api/_types/observability._common.d.ts +15 -15
- package/api/_types/query._common.d.ts +12 -7
- package/api/_types/remote_store._common.d.ts +2 -2
- package/api/_types/replication._common.d.ts +143 -0
- package/api/_types/rollups._common.d.ts +15 -15
- package/api/_types/search_pipeline._common.d.ts +21 -21
- package/api/_types/security._common.d.ts +47 -42
- package/api/_types/snapshot._common.d.ts +16 -29
- package/api/_types/snapshot.cleanup_repository.d.ts +1 -1
- package/api/_types/snapshot.restore.d.ts +1 -1
- package/api/_types/snapshot.verify_repository.d.ts +1 -1
- package/api/_types/sql._common.d.ts +18 -18
- package/api/_types/tasks._common.d.ts +22 -14
- package/api/_types/transforms._common.d.ts +16 -16
- package/api/_types/wlm._common.d.ts +53 -0
- package/api/asynchronousSearch/delete.d.ts +3 -3
- package/api/asynchronousSearch/get.d.ts +3 -3
- package/api/asynchronousSearch/search.d.ts +3 -3
- package/api/asynchronousSearch/stats.d.ts +2 -2
- package/api/cat/aliases.d.ts +4 -4
- package/api/cat/aliases.js +4 -4
- package/api/cat/allPitSegments.d.ts +5 -5
- package/api/cat/allPitSegments.js +1 -1
- package/api/cat/allocation.d.ts +5 -5
- package/api/cat/allocation.js +3 -3
- package/api/cat/clusterManager.d.ts +4 -4
- package/api/cat/clusterManager.js +2 -2
- package/api/cat/count.d.ts +4 -4
- package/api/cat/count.js +4 -4
- package/api/cat/fielddata.d.ts +5 -5
- package/api/cat/fielddata.js +2 -2
- package/api/cat/health.d.ts +4 -4
- package/api/cat/health.js +2 -2
- package/api/cat/help.d.ts +1 -1
- package/api/cat/indices.d.ts +5 -5
- package/api/cat/indices.js +8 -8
- package/api/cat/master.d.ts +4 -4
- package/api/cat/master.js +2 -2
- package/api/cat/nodeattrs.d.ts +4 -4
- package/api/cat/nodeattrs.js +2 -2
- package/api/cat/nodes.d.ts +5 -5
- package/api/cat/nodes.js +2 -2
- package/api/cat/pendingTasks.d.ts +4 -4
- package/api/cat/pendingTasks.js +2 -2
- package/api/cat/pitSegments.d.ts +6 -6
- package/api/cat/pitSegments.js +1 -1
- package/api/cat/plugins.d.ts +4 -4
- package/api/cat/plugins.js +2 -2
- package/api/cat/recovery.d.ts +5 -5
- package/api/cat/recovery.js +3 -3
- package/api/cat/repositories.d.ts +4 -4
- package/api/cat/repositories.js +2 -2
- package/api/cat/segmentReplication.d.ts +5 -5
- package/api/cat/segmentReplication.js +6 -6
- package/api/cat/segments.d.ts +5 -5
- package/api/cat/segments.js +4 -4
- package/api/cat/shards.d.ts +5 -5
- package/api/cat/shards.js +4 -4
- package/api/cat/snapshots.d.ts +4 -4
- package/api/cat/snapshots.js +3 -3
- package/api/cat/tasks.d.ts +4 -4
- package/api/cat/tasks.js +1 -1
- package/api/cat/templates.d.ts +4 -4
- package/api/cat/templates.js +3 -3
- package/api/cat/threadPool.d.ts +4 -4
- package/api/cat/threadPool.js +3 -3
- package/api/cluster/allocationExplain.d.ts +6 -6
- package/api/cluster/allocationExplain.js +2 -2
- package/api/cluster/deleteComponentTemplate.d.ts +3 -3
- package/api/cluster/deleteComponentTemplate.js +1 -1
- package/api/cluster/deleteDecommissionAwareness.d.ts +2 -2
- package/api/cluster/deleteVotingConfigExclusions.d.ts +2 -2
- package/api/cluster/deleteVotingConfigExclusions.js +1 -1
- package/api/cluster/deleteWeightedRouting.d.ts +3 -3
- package/api/cluster/existsComponentTemplate.d.ts +3 -3
- package/api/cluster/existsComponentTemplate.js +2 -2
- package/api/cluster/getComponentTemplate.d.ts +5 -5
- package/api/cluster/getComponentTemplate.js +3 -3
- package/api/cluster/getDecommissionAwareness.d.ts +3 -3
- package/api/cluster/getSettings.d.ts +4 -4
- package/api/cluster/getSettings.js +1 -1
- package/api/cluster/getWeightedRouting.d.ts +3 -3
- package/api/cluster/health.d.ts +4 -4
- package/api/cluster/health.js +6 -6
- package/api/cluster/pendingTasks.d.ts +5 -5
- package/api/cluster/pendingTasks.js +2 -2
- package/api/cluster/postVotingConfigExclusions.d.ts +3 -3
- package/api/cluster/putComponentTemplate.d.ts +4 -4
- package/api/cluster/putComponentTemplate.js +2 -2
- package/api/cluster/putDecommissionAwareness.d.ts +3 -3
- package/api/cluster/putSettings.d.ts +5 -5
- package/api/cluster/putSettings.js +1 -1
- package/api/cluster/putWeightedRouting.d.ts +3 -3
- package/api/cluster/remoteInfo.d.ts +2 -2
- package/api/cluster/reroute.d.ts +7 -7
- package/api/cluster/reroute.js +4 -4
- package/api/cluster/state.d.ts +4 -4
- package/api/cluster/state.js +5 -5
- package/api/cluster/stats.d.ts +6 -4
- package/api/cluster/stats.js +15 -2
- package/api/danglingIndices/deleteDanglingIndex.d.ts +3 -3
- package/api/danglingIndices/importDanglingIndex.d.ts +3 -3
- package/api/danglingIndices/listDanglingIndices.d.ts +3 -3
- package/api/danglingIndices/listDanglingIndices.js +1 -1
- package/api/flowFramework/_api.js +12 -0
- package/api/flowFramework/create.d.ts +9 -8
- package/api/flowFramework/create.js +2 -1
- package/api/flowFramework/delete.d.ts +5 -4
- package/api/flowFramework/deprovision.d.ts +31 -0
- package/api/flowFramework/deprovision.js +50 -0
- package/api/flowFramework/get.d.ts +5 -4
- package/api/flowFramework/getStatus.d.ts +31 -0
- package/api/flowFramework/getStatus.js +50 -0
- package/api/flowFramework/getSteps.d.ts +30 -0
- package/api/flowFramework/getSteps.js +47 -0
- package/api/flowFramework/provision.d.ts +31 -0
- package/api/flowFramework/provision.js +50 -0
- package/api/flowFramework/search.d.ts +30 -0
- package/api/flowFramework/search.js +47 -0
- package/api/flowFramework/searchState.d.ts +30 -0
- package/api/flowFramework/searchState.js +47 -0
- package/api/flowFramework/update.d.ts +10 -6
- package/api/flowFramework/update.js +4 -0
- package/api/index.d.ts +88 -2
- package/api/indices/addBlock.d.ts +4 -4
- package/api/indices/addBlock.js +4 -4
- package/api/indices/analyze.d.ts +5 -5
- package/api/indices/analyze.js +1 -1
- package/api/indices/clearCache.d.ts +3 -3
- package/api/indices/clearCache.js +5 -5
- package/api/indices/clone.d.ts +5 -5
- package/api/indices/clone.js +1 -1
- package/api/indices/close.d.ts +4 -4
- package/api/indices/close.js +2 -2
- package/api/indices/create.d.ts +6 -6
- package/api/indices/create.js +1 -1
- package/api/indices/createDataStream.d.ts +3 -3
- package/api/indices/dataStreamsStats.d.ts +6 -6
- package/api/indices/dataStreamsStats.js +1 -1
- package/api/indices/delete.d.ts +3 -3
- package/api/indices/delete.js +3 -3
- package/api/indices/deleteAlias.d.ts +3 -3
- package/api/indices/deleteAlias.js +2 -2
- package/api/indices/deleteDataStream.d.ts +3 -3
- package/api/indices/deleteIndexTemplate.d.ts +3 -3
- package/api/indices/deleteIndexTemplate.js +1 -1
- package/api/indices/deleteTemplate.d.ts +3 -3
- package/api/indices/deleteTemplate.js +1 -1
- package/api/indices/exists.d.ts +3 -3
- package/api/indices/exists.js +2 -2
- package/api/indices/existsAlias.d.ts +3 -3
- package/api/indices/existsAlias.js +4 -4
- package/api/indices/existsIndexTemplate.d.ts +3 -3
- package/api/indices/existsIndexTemplate.js +1 -1
- package/api/indices/existsTemplate.d.ts +3 -3
- package/api/indices/existsTemplate.js +1 -1
- package/api/indices/flush.d.ts +3 -3
- package/api/indices/flush.js +4 -4
- package/api/indices/forcemerge.d.ts +4 -4
- package/api/indices/forcemerge.js +6 -6
- package/api/indices/get.d.ts +3 -3
- package/api/indices/get.js +8 -8
- package/api/indices/getAlias.d.ts +3 -3
- package/api/indices/getAlias.js +3 -3
- package/api/indices/getDataStream.d.ts +4 -4
- package/api/indices/getDataStream.js +1 -1
- package/api/indices/getFieldMapping.d.ts +3 -3
- package/api/indices/getFieldMapping.js +3 -3
- package/api/indices/getIndexTemplate.d.ts +4 -4
- package/api/indices/getIndexTemplate.js +4 -4
- package/api/indices/getMapping.d.ts +3 -3
- package/api/indices/getMapping.js +5 -5
- package/api/indices/getSettings.d.ts +3 -3
- package/api/indices/getSettings.js +6 -6
- package/api/indices/getTemplate.d.ts +3 -3
- package/api/indices/getTemplate.js +2 -2
- package/api/indices/getUpgrade.d.ts +3 -3
- package/api/indices/getUpgrade.js +5 -5
- package/api/indices/open.d.ts +3 -3
- package/api/indices/open.js +3 -3
- package/api/indices/putAlias.d.ts +4 -4
- package/api/indices/putAlias.js +3 -3
- package/api/indices/putIndexTemplate.d.ts +4 -4
- package/api/indices/putIndexTemplate.js +1 -1
- package/api/indices/putMapping.d.ts +4 -5
- package/api/indices/putMapping.js +3 -3
- package/api/indices/putSettings.d.ts +3 -3
- package/api/indices/putSettings.js +5 -5
- package/api/indices/putTemplate.d.ts +5 -5
- package/api/indices/putTemplate.js +2 -2
- package/api/indices/recovery.d.ts +3 -3
- package/api/indices/recovery.js +2 -2
- package/api/indices/refresh.d.ts +3 -3
- package/api/indices/refresh.js +4 -4
- package/api/indices/resolveIndex.d.ts +4 -4
- package/api/indices/resolveIndex.js +2 -2
- package/api/indices/rollover.d.ts +6 -6
- package/api/indices/rollover.js +2 -2
- package/api/indices/segments.d.ts +4 -4
- package/api/indices/segments.js +3 -3
- package/api/indices/shardStores.d.ts +5 -5
- package/api/indices/shardStores.js +5 -5
- package/api/indices/shrink.d.ts +5 -5
- package/api/indices/shrink.js +1 -1
- package/api/indices/simulateIndexTemplate.d.ts +4 -4
- package/api/indices/simulateIndexTemplate.js +1 -1
- package/api/indices/simulateTemplate.d.ts +4 -4
- package/api/indices/simulateTemplate.js +3 -3
- package/api/indices/split.d.ts +5 -5
- package/api/indices/split.js +1 -1
- package/api/indices/stats.d.ts +5 -5
- package/api/indices/stats.js +5 -5
- package/api/indices/updateAliases.d.ts +4 -4
- package/api/indices/updateAliases.js +1 -1
- package/api/indices/upgrade.d.ts +3 -3
- package/api/indices/upgrade.js +6 -6
- package/api/indices/validateQuery.d.ts +6 -6
- package/api/indices/validateQuery.js +3 -3
- package/api/ingest/deletePipeline.d.ts +3 -3
- package/api/ingest/deletePipeline.js +1 -1
- package/api/ingest/getPipeline.d.ts +3 -3
- package/api/ingest/getPipeline.js +2 -2
- package/api/ingest/processorGrok.d.ts +2 -2
- package/api/ingest/putPipeline.d.ts +4 -4
- package/api/ingest/putPipeline.js +1 -1
- package/api/ingest/simulate.d.ts +6 -6
- package/api/ingest/simulate.js +1 -1
- package/api/insights/_api.js +28 -0
- package/api/insights/topQueries.d.ts +30 -0
- package/api/insights/topQueries.js +48 -0
- package/api/ism/_api.js +61 -0
- package/api/ism/addPolicy.d.ts +32 -0
- package/api/ism/addPolicy.js +49 -0
- package/api/ism/changePolicy.d.ts +32 -0
- package/api/ism/changePolicy.js +49 -0
- package/api/ism/deletePolicy.d.ts +30 -0
- package/api/ism/deletePolicy.js +49 -0
- package/api/ism/existsPolicy.d.ts +29 -0
- package/api/ism/existsPolicy.js +49 -0
- package/api/ism/explainPolicy.d.ts +34 -0
- package/api/ism/explainPolicy.js +49 -0
- package/api/ism/getPolicies.d.ts +28 -0
- package/api/ism/getPolicies.js +45 -0
- package/api/ism/getPolicy.d.ts +30 -0
- package/api/ism/getPolicy.js +49 -0
- package/api/ism/putPolicies.d.ts +34 -0
- package/api/ism/putPolicies.js +51 -0
- package/api/ism/putPolicy.d.ts +34 -0
- package/api/ism/putPolicy.js +52 -0
- package/api/ism/refreshSearchAnalyzers.d.ts +31 -0
- package/api/ism/refreshSearchAnalyzers.js +49 -0
- package/api/ism/removePolicy.d.ts +31 -0
- package/api/ism/removePolicy.js +48 -0
- package/api/ism/retryIndex.d.ts +32 -0
- package/api/ism/retryIndex.js +49 -0
- package/api/knn/deleteModel.d.ts +2 -2
- package/api/knn/getModel.d.ts +2 -2
- package/api/knn/searchModels.d.ts +4 -4
- package/api/knn/searchModels.js +9 -9
- package/api/knn/stats.d.ts +3 -3
- package/api/knn/stats.js +1 -1
- package/api/knn/trainModel.d.ts +10 -5
- package/api/knn/trainModel.js +1 -1
- package/api/knn/warmup.d.ts +2 -2
- package/api/knn/warmup.js +1 -1
- package/api/{_types/snapshot.get.d.ts → list/_api.js} +9 -6
- package/api/list/help.d.ts +27 -0
- package/api/list/help.js +45 -0
- package/api/list/indices.d.ts +51 -0
- package/api/list/indices.js +65 -0
- package/api/list/shards.d.ts +47 -0
- package/api/list/shards.js +61 -0
- package/api/ml/_api.js +12 -0
- package/api/ml/createConnector.d.ts +32 -0
- package/api/ml/createConnector.js +47 -0
- package/api/ml/deleteAgent.d.ts +30 -0
- package/api/ml/deleteAgent.js +49 -0
- package/api/ml/deleteConnector.d.ts +30 -0
- package/api/ml/deleteConnector.js +49 -0
- package/api/ml/deleteModel.d.ts +3 -3
- package/api/ml/deleteModelGroup.d.ts +3 -3
- package/api/ml/deleteTask.d.ts +3 -3
- package/api/ml/deployModel.d.ts +3 -3
- package/api/ml/getModelGroup.d.ts +2 -2
- package/api/ml/getTask.d.ts +2 -2
- package/api/ml/registerAgents.d.ts +32 -0
- package/api/ml/registerAgents.js +47 -0
- package/api/ml/registerModel.d.ts +4 -4
- package/api/ml/registerModelGroup.d.ts +3 -3
- package/api/ml/searchModels.d.ts +2 -2
- package/api/ml/undeployModel.d.ts +2 -2
- package/api/nodes/hotThreads.d.ts +3 -3
- package/api/nodes/hotThreads.js +1 -1
- package/api/nodes/info.d.ts +3 -3
- package/api/nodes/info.js +2 -2
- package/api/nodes/reloadSecureSettings.d.ts +4 -4
- package/api/nodes/reloadSecureSettings.js +1 -1
- package/api/nodes/stats.d.ts +3 -3
- package/api/nodes/stats.js +3 -3
- package/api/nodes/usage.d.ts +3 -3
- package/api/nodes/usage.js +1 -1
- package/api/notifications/createConfig.d.ts +3 -3
- package/api/notifications/deleteConfig.d.ts +2 -2
- package/api/notifications/deleteConfigs.d.ts +2 -2
- package/api/notifications/getConfig.d.ts +2 -2
- package/api/notifications/getConfigs.d.ts +5 -3
- package/api/notifications/getConfigs.js +2 -0
- package/api/notifications/listChannels.d.ts +2 -2
- package/api/notifications/listFeatures.d.ts +2 -2
- package/api/notifications/sendTest.d.ts +3 -3
- package/api/notifications/updateConfig.d.ts +3 -3
- package/api/observability/createObject.d.ts +3 -3
- package/api/observability/deleteObject.d.ts +3 -3
- package/api/observability/deleteObjects.d.ts +3 -3
- package/api/observability/getLocalstats.d.ts +1 -1
- package/api/observability/getObject.d.ts +2 -2
- package/api/observability/listObjects.d.ts +1 -1
- package/api/observability/updateObject.d.ts +3 -3
- package/api/ppl/explain.d.ts +2 -2
- package/api/ppl/explain.js +1 -1
- package/api/ppl/getStats.d.ts +2 -2
- package/api/ppl/getStats.js +1 -1
- package/api/ppl/postStats.d.ts +2 -2
- package/api/ppl/postStats.js +1 -1
- package/api/ppl/query.d.ts +2 -2
- package/api/ppl/query.js +1 -1
- package/api/query/datasourceDelete.d.ts +2 -2
- package/api/query/datasourceRetrieve.d.ts +2 -2
- package/api/query/datasourcesCreate.d.ts +2 -2
- package/api/query/datasourcesList.d.ts +1 -1
- package/api/query/datasourcesUpdate.d.ts +2 -2
- package/api/remoteStore/restore.d.ts +5 -5
- package/api/replication/_api.js +48 -0
- package/api/replication/autofollowStats.d.ts +28 -0
- package/api/replication/autofollowStats.js +45 -0
- package/api/replication/createReplicationRule.d.ts +31 -0
- package/api/replication/createReplicationRule.js +47 -0
- package/api/replication/deleteReplicationRule.d.ts +31 -0
- package/api/replication/deleteReplicationRule.js +47 -0
- package/api/replication/followerStats.d.ts +28 -0
- package/api/replication/followerStats.js +45 -0
- package/api/replication/leaderStats.d.ts +28 -0
- package/api/replication/leaderStats.js +45 -0
- package/api/replication/pause.d.ts +33 -0
- package/api/replication/pause.js +50 -0
- package/api/replication/resume.d.ts +33 -0
- package/api/replication/resume.js +50 -0
- package/api/replication/start.d.ts +32 -0
- package/api/replication/start.js +50 -0
- package/api/replication/status.d.ts +31 -0
- package/api/replication/status.js +49 -0
- package/api/replication/stop.d.ts +33 -0
- package/api/replication/stop.js +50 -0
- package/api/replication/updateSettings.d.ts +32 -0
- package/api/replication/updateSettings.js +50 -0
- package/api/rollups/delete.d.ts +3 -3
- package/api/rollups/explain.d.ts +3 -3
- package/api/rollups/get.d.ts +3 -3
- package/api/rollups/put.d.ts +3 -3
- package/api/rollups/start.d.ts +3 -3
- package/api/rollups/stop.d.ts +3 -3
- package/api/searchPipeline/delete.d.ts +4 -4
- package/api/searchPipeline/get.d.ts +3 -3
- package/api/searchPipeline/get.js +1 -1
- package/api/searchPipeline/put.d.ts +4 -4
- package/api/security/_api.js +3 -0
- package/api/security/authinfo.d.ts +2 -2
- package/api/security/authtoken.d.ts +1 -1
- package/api/security/changePassword.d.ts +2 -2
- package/api/security/configUpgradeCheck.d.ts +1 -1
- package/api/security/configUpgradePerform.d.ts +2 -2
- package/api/security/createActionGroup.d.ts +2 -2
- package/api/security/createAllowlist.d.ts +2 -2
- package/api/security/createAllowlist.js +1 -1
- package/api/security/createRole.d.ts +2 -2
- package/api/security/createRoleMapping.d.ts +2 -2
- package/api/security/createTenant.d.ts +2 -2
- package/api/security/createUpdateTenancyConfig.d.ts +2 -2
- package/api/security/createUser.d.ts +2 -2
- package/api/security/createUserLegacy.d.ts +2 -2
- package/api/security/deleteActionGroup.d.ts +2 -2
- package/api/security/deleteDistinguishedName.d.ts +2 -2
- package/api/security/deleteRole.d.ts +2 -2
- package/api/security/deleteRoleMapping.d.ts +2 -2
- package/api/security/deleteTenant.d.ts +2 -2
- package/api/security/deleteUser.d.ts +2 -2
- package/api/security/deleteUserLegacy.d.ts +2 -2
- package/api/security/flushCache.d.ts +1 -1
- package/api/security/generateOboToken.d.ts +2 -2
- package/api/security/generateUserToken.d.ts +2 -2
- package/api/security/generateUserTokenLegacy.d.ts +29 -0
- package/api/security/generateUserTokenLegacy.js +49 -0
- package/api/security/getAccountDetails.d.ts +1 -1
- package/api/security/getActionGroup.d.ts +2 -2
- package/api/security/getActionGroups.d.ts +1 -1
- package/api/security/getAllCertificates.d.ts +3 -3
- package/api/security/getAllowlist.d.ts +1 -1
- package/api/security/getAuditConfiguration.d.ts +1 -1
- package/api/security/getCertificates.d.ts +1 -1
- package/api/security/getConfiguration.d.ts +1 -1
- package/api/security/getDashboardsInfo.d.ts +1 -1
- package/api/security/getDistinguishedName.d.ts +2 -2
- package/api/security/getDistinguishedNames.d.ts +2 -2
- package/api/security/getNodeCertificates.d.ts +3 -3
- package/api/security/getPermissionsInfo.d.ts +1 -1
- package/api/security/getRole.d.ts +2 -2
- package/api/security/getRoleMapping.d.ts +2 -2
- package/api/security/getRoleMappings.d.ts +1 -1
- package/api/security/getRoles.d.ts +1 -1
- package/api/security/getSslinfo.d.ts +2 -2
- package/api/security/getTenancyConfig.d.ts +1 -1
- package/api/security/getTenant.d.ts +2 -2
- package/api/security/getTenants.d.ts +1 -1
- package/api/security/getUser.d.ts +2 -2
- package/api/security/getUserLegacy.d.ts +2 -2
- package/api/security/getUsers.d.ts +1 -1
- package/api/security/getUsersLegacy.d.ts +1 -1
- package/api/security/health.d.ts +2 -2
- package/api/security/migrate.d.ts +1 -1
- package/api/security/patchActionGroup.d.ts +2 -2
- package/api/security/patchActionGroups.d.ts +2 -2
- package/api/security/patchAllowlist.d.ts +2 -2
- package/api/security/patchAuditConfiguration.d.ts +2 -2
- package/api/security/patchConfiguration.d.ts +2 -2
- package/api/security/patchDistinguishedName.d.ts +2 -2
- package/api/security/patchDistinguishedNames.d.ts +2 -2
- package/api/security/patchRole.d.ts +2 -2
- package/api/security/patchRoleMapping.d.ts +2 -2
- package/api/security/patchRoleMappings.d.ts +2 -2
- package/api/security/patchRoles.d.ts +2 -2
- package/api/security/patchTenant.d.ts +2 -2
- package/api/security/patchTenants.d.ts +2 -2
- package/api/security/patchUser.d.ts +2 -2
- package/api/security/patchUsers.d.ts +2 -2
- package/api/security/postDashboardsInfo.d.ts +1 -1
- package/api/security/reloadHttpCertificates.d.ts +1 -1
- package/api/security/reloadTransportCertificates.d.ts +1 -1
- package/api/security/tenantInfo.d.ts +1 -1
- package/api/security/updateAuditConfiguration.d.ts +2 -2
- package/api/security/updateConfiguration.d.ts +2 -2
- package/api/security/updateDistinguishedName.d.ts +2 -2
- package/api/security/validate.d.ts +2 -2
- package/api/security/whoAmI.d.ts +1 -1
- package/api/security/whoAmIProtected.d.ts +1 -1
- package/api/snapshot/cleanupRepository.d.ts +4 -4
- package/api/snapshot/cleanupRepository.js +1 -1
- package/api/snapshot/clone.d.ts +4 -4
- package/api/snapshot/clone.js +2 -2
- package/api/snapshot/create.d.ts +5 -5
- package/api/snapshot/create.js +1 -1
- package/api/snapshot/createRepository.d.ts +4 -4
- package/api/snapshot/createRepository.js +1 -1
- package/api/snapshot/delete.d.ts +3 -3
- package/api/snapshot/delete.js +1 -1
- package/api/snapshot/deleteRepository.d.ts +3 -3
- package/api/snapshot/deleteRepository.js +1 -1
- package/api/snapshot/get.d.ts +5 -9
- package/api/snapshot/get.js +3 -3
- package/api/snapshot/getRepository.d.ts +3 -3
- package/api/snapshot/getRepository.js +2 -2
- package/api/snapshot/restore.d.ts +7 -6
- package/api/snapshot/restore.js +1 -1
- package/api/snapshot/status.d.ts +4 -4
- package/api/snapshot/status.js +3 -3
- package/api/snapshot/verifyRepository.d.ts +4 -4
- package/api/snapshot/verifyRepository.js +1 -1
- package/api/sql/close.d.ts +3 -3
- package/api/sql/close.js +5 -5
- package/api/sql/explain.d.ts +3 -3
- package/api/sql/explain.js +5 -5
- package/api/sql/getStats.d.ts +2 -2
- package/api/sql/getStats.js +1 -1
- package/api/sql/postStats.d.ts +3 -3
- package/api/sql/postStats.js +5 -5
- package/api/sql/query.d.ts +3 -3
- package/api/sql/query.js +5 -5
- package/api/sql/settings.d.ts +3 -3
- package/api/sql/settings.js +5 -5
- package/api/tasks/cancel.d.ts +3 -3
- package/api/tasks/cancel.js +1 -1
- package/api/tasks/get.d.ts +5 -5
- package/api/tasks/list.d.ts +3 -3
- package/api/transforms/delete.d.ts +3 -3
- package/api/transforms/explain.d.ts +3 -3
- package/api/transforms/get.d.ts +3 -3
- package/api/transforms/preview.d.ts +8 -2
- package/api/transforms/preview.js +4 -2
- package/api/transforms/put.d.ts +3 -3
- package/api/transforms/search.d.ts +2 -2
- package/api/transforms/start.d.ts +3 -3
- package/api/transforms/stop.d.ts +3 -3
- package/api/utils.js +1 -1
- package/api/wlm/_api.js +37 -0
- package/api/wlm/createQueryGroup.d.ts +30 -0
- package/api/wlm/createQueryGroup.js +47 -0
- package/api/wlm/deleteQueryGroup.d.ts +31 -0
- package/api/wlm/deleteQueryGroup.js +49 -0
- package/api/wlm/getQueryGroup.d.ts +32 -0
- package/api/wlm/getQueryGroup.js +48 -0
- package/api/wlm/updateQueryGroup.d.ts +31 -0
- package/api/wlm/updateQueryGroup.js +50 -0
- package/index.js +0 -2
- package/lib/Client.d.ts +1 -1
- package/lib/Client.js +1 -1
- package/lib/Serializer.js +1 -1
- package/package.json +3 -3
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
import * as Common from './_common'
|
|
18
18
|
import * as Indices_Stats from './indices.stats'
|
|
19
19
|
|
|
20
|
-
export
|
|
20
|
+
export type AdaptiveSelection = {
|
|
21
21
|
avg_queue_size?: number;
|
|
22
22
|
avg_response_time?: Common.Duration;
|
|
23
23
|
avg_response_time_ns?: number;
|
|
@@ -27,41 +27,41 @@ export interface AdaptiveSelection {
|
|
|
27
27
|
rank?: string;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
export
|
|
31
|
-
estimated_size?: Common.
|
|
32
|
-
estimated_size_in_bytes?: Common.
|
|
33
|
-
limit_size?: Common.
|
|
34
|
-
limit_size_in_bytes?: Common.
|
|
30
|
+
export type Breaker = {
|
|
31
|
+
estimated_size?: Common.HumanReadableByteCount;
|
|
32
|
+
estimated_size_in_bytes?: Common.ByteCount;
|
|
33
|
+
limit_size?: Common.HumanReadableByteCount;
|
|
34
|
+
limit_size_in_bytes?: Common.ByteCount;
|
|
35
35
|
overhead?: number;
|
|
36
36
|
tripped?: number;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
export
|
|
39
|
+
export type Cgroup = {
|
|
40
40
|
cpu?: CgroupCpu;
|
|
41
41
|
cpuacct?: CpuAcct;
|
|
42
42
|
memory?: CgroupMemory;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
export
|
|
45
|
+
export type CgroupCpu = {
|
|
46
46
|
cfs_period_micros?: number;
|
|
47
47
|
cfs_quota_micros?: number;
|
|
48
48
|
control_group?: string;
|
|
49
49
|
stat?: CgroupCpuStat;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
export
|
|
52
|
+
export type CgroupCpuStat = {
|
|
53
53
|
number_of_elapsed_periods?: number;
|
|
54
54
|
number_of_times_throttled?: number;
|
|
55
55
|
time_throttled_nanos?: Common.DurationValueUnitNanos;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
export
|
|
58
|
+
export type CgroupMemory = {
|
|
59
59
|
control_group?: string;
|
|
60
60
|
limit_in_bytes?: string;
|
|
61
61
|
usage_in_bytes?: string;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
export
|
|
64
|
+
export type Client = {
|
|
65
65
|
agent?: string;
|
|
66
66
|
closed_time_millis?: number;
|
|
67
67
|
id?: number;
|
|
@@ -71,31 +71,31 @@ export interface Client {
|
|
|
71
71
|
opened_time_millis?: number;
|
|
72
72
|
remote_address?: string;
|
|
73
73
|
request_count?: number;
|
|
74
|
-
request_size_bytes?: Common.
|
|
74
|
+
request_size_bytes?: Common.ByteCount;
|
|
75
75
|
x_opaque_id?: string;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
export
|
|
78
|
+
export type ClusterAppliedStats = {
|
|
79
79
|
recordings?: Recording[];
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
export
|
|
82
|
+
export type ClusterStateOverallStats = {
|
|
83
83
|
failed_count?: number;
|
|
84
84
|
total_time_in_millis?: Common.DurationValueUnitMillis;
|
|
85
85
|
update_count?: number;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export
|
|
88
|
+
export type ClusterStateQueue = {
|
|
89
89
|
committed?: number;
|
|
90
90
|
pending?: number;
|
|
91
91
|
total?: number;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
export
|
|
94
|
+
export type ClusterStateStats = {
|
|
95
95
|
overall?: ClusterStateOverallStats;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
export
|
|
98
|
+
export type ClusterStateUpdate = {
|
|
99
99
|
commit_time?: Common.Duration;
|
|
100
100
|
commit_time_millis?: Common.DurationValueUnitMillis;
|
|
101
101
|
completion_time?: Common.Duration;
|
|
@@ -113,16 +113,16 @@ export interface ClusterStateUpdate {
|
|
|
113
113
|
publication_time_millis?: Common.DurationValueUnitMillis;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
export
|
|
116
|
+
export type Context = {
|
|
117
117
|
cache_evictions?: number;
|
|
118
118
|
compilation_limit_triggered?: number;
|
|
119
119
|
compilations?: number;
|
|
120
120
|
context?: string;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export
|
|
123
|
+
export type Cpu = {
|
|
124
124
|
load_average?: Record<string, number>;
|
|
125
|
-
percent?:
|
|
125
|
+
percent?: Common.PercentageNumber;
|
|
126
126
|
sys?: Common.Duration;
|
|
127
127
|
sys_in_millis?: Common.DurationValueUnitMillis;
|
|
128
128
|
total?: Common.Duration;
|
|
@@ -131,33 +131,33 @@ export interface Cpu {
|
|
|
131
131
|
user_in_millis?: Common.DurationValueUnitMillis;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
export
|
|
134
|
+
export type CpuAcct = {
|
|
135
135
|
control_group?: string;
|
|
136
136
|
usage_nanos?: Common.DurationValueUnitNanos;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
export
|
|
140
|
-
available?: Common.
|
|
141
|
-
available_in_bytes?: Common.
|
|
142
|
-
cache_reserved?: Common.
|
|
143
|
-
cache_reserved_in_bytes?: Common.
|
|
139
|
+
export type DataPathStats = {
|
|
140
|
+
available?: Common.HumanReadableByteCount;
|
|
141
|
+
available_in_bytes?: Common.ByteCount;
|
|
142
|
+
cache_reserved?: Common.HumanReadableByteCount;
|
|
143
|
+
cache_reserved_in_bytes?: Common.ByteCount;
|
|
144
144
|
disk_queue?: string;
|
|
145
|
-
disk_read_size?: Common.
|
|
146
|
-
disk_read_size_in_bytes?: Common.
|
|
145
|
+
disk_read_size?: Common.HumanReadableByteCount;
|
|
146
|
+
disk_read_size_in_bytes?: Common.ByteCount;
|
|
147
147
|
disk_reads?: number;
|
|
148
|
-
disk_write_size?: Common.
|
|
149
|
-
disk_write_size_in_bytes?: Common.
|
|
148
|
+
disk_write_size?: Common.HumanReadableByteCount;
|
|
149
|
+
disk_write_size_in_bytes?: Common.ByteCount;
|
|
150
150
|
disk_writes?: number;
|
|
151
|
-
free?: Common.
|
|
152
|
-
free_in_bytes?: Common.
|
|
151
|
+
free?: Common.HumanReadableByteCount;
|
|
152
|
+
free_in_bytes?: Common.ByteCount;
|
|
153
153
|
mount?: string;
|
|
154
154
|
path?: string;
|
|
155
|
-
total?: Common.
|
|
156
|
-
total_in_bytes?: Common.
|
|
155
|
+
total?: Common.HumanReadableByteCount;
|
|
156
|
+
total_in_bytes?: Common.ByteCount;
|
|
157
157
|
type?: string;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
export
|
|
160
|
+
export type Discovery = {
|
|
161
161
|
cluster_applier_stats?: ClusterAppliedStats;
|
|
162
162
|
cluster_state_queue?: ClusterStateQueue;
|
|
163
163
|
cluster_state_stats?: ClusterStateStats;
|
|
@@ -166,62 +166,62 @@ export interface Discovery {
|
|
|
166
166
|
serialized_cluster_states?: SerializedClusterState;
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
-
export
|
|
170
|
-
free_percent?:
|
|
171
|
-
used_percent?:
|
|
169
|
+
export type ExtendedMemoryStats = MemoryStats & {
|
|
170
|
+
free_percent?: Common.PercentageNumber;
|
|
171
|
+
used_percent?: Common.PercentageNumber;
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
export
|
|
174
|
+
export type FileSystem = {
|
|
175
175
|
data?: DataPathStats[];
|
|
176
176
|
io_stats?: IoStats;
|
|
177
177
|
timestamp?: number;
|
|
178
178
|
total?: FileSystemTotal;
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
export
|
|
182
|
-
available?: Common.
|
|
183
|
-
available_in_bytes?: Common.
|
|
184
|
-
cache_reserved?: Common.
|
|
185
|
-
cache_reserved_in_bytes?: Common.
|
|
186
|
-
free?: Common.
|
|
187
|
-
free_in_bytes?: Common.
|
|
188
|
-
total?: Common.
|
|
189
|
-
total_in_bytes?: Common.
|
|
181
|
+
export type FileSystemTotal = {
|
|
182
|
+
available?: Common.HumanReadableByteCount;
|
|
183
|
+
available_in_bytes?: Common.ByteCount;
|
|
184
|
+
cache_reserved?: Common.HumanReadableByteCount;
|
|
185
|
+
cache_reserved_in_bytes?: Common.ByteCount;
|
|
186
|
+
free?: Common.HumanReadableByteCount;
|
|
187
|
+
free_in_bytes?: Common.ByteCount;
|
|
188
|
+
total?: Common.HumanReadableByteCount;
|
|
189
|
+
total_in_bytes?: Common.ByteCount;
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
-
export
|
|
192
|
+
export type GarbageCollector = {
|
|
193
193
|
collectors?: Record<string, GarbageCollectorTotal>;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export
|
|
196
|
+
export type GarbageCollectorTotal = {
|
|
197
197
|
collection_count?: number;
|
|
198
198
|
collection_time?: string;
|
|
199
199
|
collection_time_in_millis?: number;
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
-
export
|
|
202
|
+
export type Http = {
|
|
203
203
|
clients?: Client[];
|
|
204
204
|
current_open?: number;
|
|
205
205
|
total_opened?: number;
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
export
|
|
208
|
+
export type IndexingPressure = {
|
|
209
209
|
memory?: IndexingPressureMemory;
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
export
|
|
212
|
+
export type IndexingPressureMemory = {
|
|
213
213
|
current?: PressureMemory;
|
|
214
|
-
limit?: Common.
|
|
215
|
-
limit_in_bytes?: Common.
|
|
214
|
+
limit?: Common.HumanReadableByteCount;
|
|
215
|
+
limit_in_bytes?: Common.ByteCount;
|
|
216
216
|
total?: PressureMemory;
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
export
|
|
219
|
+
export type Ingest = {
|
|
220
220
|
pipelines?: Record<string, IngestTotal>;
|
|
221
221
|
total?: IngestTotal;
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
-
export
|
|
224
|
+
export type IngestTotal = {
|
|
225
225
|
count?: number;
|
|
226
226
|
current?: number;
|
|
227
227
|
failed?: number;
|
|
@@ -230,7 +230,7 @@ export interface IngestTotal {
|
|
|
230
230
|
time_in_millis?: Common.DurationValueUnitMillis;
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
-
export
|
|
233
|
+
export type IoStatDevice = {
|
|
234
234
|
device_name?: string;
|
|
235
235
|
io_time_in_millis?: Common.DurationValueUnitMillis;
|
|
236
236
|
operations?: number;
|
|
@@ -243,12 +243,12 @@ export interface IoStatDevice {
|
|
|
243
243
|
write_time?: number;
|
|
244
244
|
}
|
|
245
245
|
|
|
246
|
-
export
|
|
246
|
+
export type IoStats = {
|
|
247
247
|
devices?: IoStatDevice[];
|
|
248
248
|
total?: IoStatDevice;
|
|
249
249
|
}
|
|
250
250
|
|
|
251
|
-
export
|
|
251
|
+
export type Jvm = {
|
|
252
252
|
buffer_pools?: Record<string, NodeBufferPool>;
|
|
253
253
|
classes?: JvmClasses;
|
|
254
254
|
gc?: GarbageCollector;
|
|
@@ -259,81 +259,81 @@ export interface Jvm {
|
|
|
259
259
|
uptime_in_millis?: number;
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
export
|
|
262
|
+
export type JvmClasses = {
|
|
263
263
|
current_loaded_count?: number;
|
|
264
264
|
total_loaded_count?: number;
|
|
265
265
|
total_unloaded_count?: number;
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
export
|
|
269
|
-
heap_committed?: Common.
|
|
270
|
-
heap_committed_in_bytes?: Common.
|
|
271
|
-
heap_max?: Common.
|
|
272
|
-
heap_max_in_bytes?: Common.
|
|
273
|
-
heap_used?: Common.
|
|
274
|
-
heap_used_in_bytes?: Common.
|
|
275
|
-
heap_used_percent?:
|
|
276
|
-
non_heap_committed?: Common.
|
|
277
|
-
non_heap_committed_in_bytes?: Common.
|
|
278
|
-
non_heap_used?: Common.
|
|
279
|
-
non_heap_used_in_bytes?: Common.
|
|
268
|
+
export type JvmMemoryStats = {
|
|
269
|
+
heap_committed?: Common.HumanReadableByteCount;
|
|
270
|
+
heap_committed_in_bytes?: Common.ByteCount;
|
|
271
|
+
heap_max?: Common.HumanReadableByteCount;
|
|
272
|
+
heap_max_in_bytes?: Common.ByteCount;
|
|
273
|
+
heap_used?: Common.HumanReadableByteCount;
|
|
274
|
+
heap_used_in_bytes?: Common.ByteCount;
|
|
275
|
+
heap_used_percent?: Common.PercentageNumber;
|
|
276
|
+
non_heap_committed?: Common.HumanReadableByteCount;
|
|
277
|
+
non_heap_committed_in_bytes?: Common.ByteCount;
|
|
278
|
+
non_heap_used?: Common.HumanReadableByteCount;
|
|
279
|
+
non_heap_used_in_bytes?: Common.ByteCount;
|
|
280
280
|
pools?: Record<string, Pool>;
|
|
281
281
|
}
|
|
282
282
|
|
|
283
|
-
export
|
|
283
|
+
export type JvmThreads = {
|
|
284
284
|
count?: number;
|
|
285
285
|
peak_count?: number;
|
|
286
286
|
}
|
|
287
287
|
|
|
288
|
-
export
|
|
288
|
+
export type KeyedProcessor = {
|
|
289
289
|
stats?: Processor;
|
|
290
290
|
type?: string;
|
|
291
291
|
}
|
|
292
292
|
|
|
293
|
-
export
|
|
294
|
-
max?: Common.
|
|
295
|
-
max_in_bytes?: Common.
|
|
296
|
-
usage_percent?:
|
|
297
|
-
used?: Common.
|
|
298
|
-
used_in_bytes?: Common.
|
|
293
|
+
export type LastGcStats = {
|
|
294
|
+
max?: Common.HumanReadableByteCount;
|
|
295
|
+
max_in_bytes?: Common.ByteCount;
|
|
296
|
+
usage_percent?: Common.PercentageNumber;
|
|
297
|
+
used?: Common.HumanReadableByteCount;
|
|
298
|
+
used_in_bytes?: Common.ByteCount;
|
|
299
299
|
}
|
|
300
300
|
|
|
301
|
-
export
|
|
302
|
-
adjusted_total_in_bytes?: Common.
|
|
303
|
-
free?: Common.
|
|
304
|
-
free_in_bytes?: Common.
|
|
305
|
-
resident?: Common.
|
|
306
|
-
resident_in_bytes?: Common.
|
|
307
|
-
share?: Common.
|
|
308
|
-
share_in_bytes?: Common.
|
|
309
|
-
total?: Common.
|
|
310
|
-
total_in_bytes?: Common.
|
|
311
|
-
total_virtual?: Common.
|
|
312
|
-
total_virtual_in_bytes?: Common.
|
|
313
|
-
used?: Common.
|
|
314
|
-
used_in_bytes?: Common.
|
|
301
|
+
export type MemoryStats = {
|
|
302
|
+
adjusted_total_in_bytes?: Common.ByteCount;
|
|
303
|
+
free?: Common.HumanReadableByteCount;
|
|
304
|
+
free_in_bytes?: Common.ByteCount;
|
|
305
|
+
resident?: Common.HumanReadableByteCount;
|
|
306
|
+
resident_in_bytes?: Common.ByteCount;
|
|
307
|
+
share?: Common.HumanReadableByteCount;
|
|
308
|
+
share_in_bytes?: Common.ByteCount;
|
|
309
|
+
total?: Common.HumanReadableByteCount;
|
|
310
|
+
total_in_bytes?: Common.ByteCount;
|
|
311
|
+
total_virtual?: Common.HumanReadableByteCount;
|
|
312
|
+
total_virtual_in_bytes?: Common.ByteCount;
|
|
313
|
+
used?: Common.HumanReadableByteCount;
|
|
314
|
+
used_in_bytes?: Common.ByteCount;
|
|
315
315
|
}
|
|
316
316
|
|
|
317
|
-
export
|
|
317
|
+
export type NodeBufferPool = {
|
|
318
318
|
count?: number;
|
|
319
|
-
total_capacity?: Common.
|
|
320
|
-
total_capacity_in_bytes?: Common.
|
|
321
|
-
used?: Common.
|
|
322
|
-
used_in_bytes?: Common.
|
|
319
|
+
total_capacity?: Common.HumanReadableByteCount;
|
|
320
|
+
total_capacity_in_bytes?: Common.ByteCount;
|
|
321
|
+
used?: Common.HumanReadableByteCount;
|
|
322
|
+
used_in_bytes?: Common.ByteCount;
|
|
323
323
|
}
|
|
324
324
|
|
|
325
|
-
export
|
|
325
|
+
export type NodeReloadError = {
|
|
326
326
|
name: Common.Name;
|
|
327
327
|
reload_exception?: Common.ErrorCause;
|
|
328
328
|
}
|
|
329
329
|
|
|
330
330
|
export type NodeReloadResult = Stats | NodeReloadError
|
|
331
331
|
|
|
332
|
-
export
|
|
332
|
+
export type NodesResponseBase = {
|
|
333
333
|
_nodes?: Common.NodeStatistics;
|
|
334
334
|
}
|
|
335
335
|
|
|
336
|
-
export
|
|
336
|
+
export type OperatingSystem = {
|
|
337
337
|
cgroup?: Cgroup;
|
|
338
338
|
cpu?: Cpu;
|
|
339
339
|
mem?: ExtendedMemoryStats;
|
|
@@ -341,35 +341,35 @@ export interface OperatingSystem {
|
|
|
341
341
|
timestamp?: number;
|
|
342
342
|
}
|
|
343
343
|
|
|
344
|
-
export
|
|
344
|
+
export type Pool = {
|
|
345
345
|
last_gc_stats?: LastGcStats;
|
|
346
|
-
max?: Common.
|
|
347
|
-
max_in_bytes?: Common.
|
|
348
|
-
peak_max?: Common.
|
|
349
|
-
peak_max_in_bytes?: Common.
|
|
350
|
-
peak_used?: Common.
|
|
351
|
-
peak_used_in_bytes?: Common.
|
|
352
|
-
used?: Common.
|
|
353
|
-
used_in_bytes?: Common.
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
export
|
|
357
|
-
all?: Common.
|
|
358
|
-
all_in_bytes?: Common.
|
|
359
|
-
combined_coordinating_and_primary?: Common.
|
|
360
|
-
combined_coordinating_and_primary_in_bytes?: Common.
|
|
361
|
-
coordinating?: Common.
|
|
362
|
-
coordinating_in_bytes?: Common.
|
|
346
|
+
max?: Common.HumanReadableByteCount;
|
|
347
|
+
max_in_bytes?: Common.ByteCount;
|
|
348
|
+
peak_max?: Common.HumanReadableByteCount;
|
|
349
|
+
peak_max_in_bytes?: Common.ByteCount;
|
|
350
|
+
peak_used?: Common.HumanReadableByteCount;
|
|
351
|
+
peak_used_in_bytes?: Common.ByteCount;
|
|
352
|
+
used?: Common.HumanReadableByteCount;
|
|
353
|
+
used_in_bytes?: Common.ByteCount;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
export type PressureMemory = {
|
|
357
|
+
all?: Common.HumanReadableByteCount;
|
|
358
|
+
all_in_bytes?: Common.ByteCount;
|
|
359
|
+
combined_coordinating_and_primary?: Common.HumanReadableByteCount;
|
|
360
|
+
combined_coordinating_and_primary_in_bytes?: Common.ByteCount;
|
|
361
|
+
coordinating?: Common.HumanReadableByteCount;
|
|
362
|
+
coordinating_in_bytes?: Common.ByteCount;
|
|
363
363
|
coordinating_rejections?: number;
|
|
364
|
-
primary?: Common.
|
|
365
|
-
primary_in_bytes?: Common.
|
|
364
|
+
primary?: Common.HumanReadableByteCount;
|
|
365
|
+
primary_in_bytes?: Common.ByteCount;
|
|
366
366
|
primary_rejections?: number;
|
|
367
|
-
replica?: Common.
|
|
368
|
-
replica_in_bytes?: Common.
|
|
367
|
+
replica?: Common.HumanReadableByteCount;
|
|
368
|
+
replica_in_bytes?: Common.ByteCount;
|
|
369
369
|
replica_rejections?: number;
|
|
370
370
|
}
|
|
371
371
|
|
|
372
|
-
export
|
|
372
|
+
export type Process = {
|
|
373
373
|
cpu?: Cpu;
|
|
374
374
|
max_file_descriptors?: number;
|
|
375
375
|
mem?: MemoryStats;
|
|
@@ -377,36 +377,41 @@ export interface Process {
|
|
|
377
377
|
timestamp?: number;
|
|
378
378
|
}
|
|
379
379
|
|
|
380
|
-
export
|
|
380
|
+
export type Processor = {
|
|
381
381
|
count?: number;
|
|
382
382
|
current?: number;
|
|
383
383
|
failed?: number;
|
|
384
|
+
time?: Common.Duration;
|
|
384
385
|
time_in_millis?: Common.DurationValueUnitMillis;
|
|
385
386
|
}
|
|
386
387
|
|
|
387
|
-
export
|
|
388
|
+
export type PublishedClusterStates = {
|
|
388
389
|
compatible_diffs?: number;
|
|
389
390
|
full_states?: number;
|
|
390
391
|
incompatible_diffs?: number;
|
|
391
392
|
}
|
|
392
393
|
|
|
393
|
-
export
|
|
394
|
+
export type Recording = {
|
|
394
395
|
cumulative_execution_count?: number;
|
|
395
396
|
cumulative_execution_time?: Common.Duration;
|
|
396
397
|
cumulative_execution_time_millis?: Common.DurationValueUnitMillis;
|
|
397
398
|
name?: string;
|
|
398
399
|
}
|
|
399
400
|
|
|
401
|
+
export type RemoteStoreStats = {
|
|
402
|
+
last_successful_fetch_of_pinned_timestamps?: Common.StringifiedEpochTimeUnitSeconds;
|
|
403
|
+
}
|
|
404
|
+
|
|
400
405
|
export type SampleType = 'block' | 'cpu' | 'wait'
|
|
401
406
|
|
|
402
|
-
export
|
|
407
|
+
export type ScriptCache = {
|
|
403
408
|
cache_evictions?: number;
|
|
404
409
|
compilation_limit_triggered?: number;
|
|
405
410
|
compilations?: number;
|
|
406
411
|
context?: string;
|
|
407
412
|
}
|
|
408
413
|
|
|
409
|
-
export
|
|
414
|
+
export type Scripting = {
|
|
410
415
|
cache_evictions?: number;
|
|
411
416
|
compilation_limit_triggered?: number;
|
|
412
417
|
compilations?: number;
|
|
@@ -414,46 +419,46 @@ export interface Scripting {
|
|
|
414
419
|
contexts?: Context[];
|
|
415
420
|
}
|
|
416
421
|
|
|
417
|
-
export
|
|
422
|
+
export type SerializedClusterState = {
|
|
418
423
|
diffs?: SerializedClusterStateDetail;
|
|
419
424
|
full_states?: SerializedClusterStateDetail;
|
|
420
425
|
}
|
|
421
426
|
|
|
422
|
-
export
|
|
423
|
-
compressed_size?: Common.
|
|
424
|
-
compressed_size_in_bytes?: Common.
|
|
427
|
+
export type SerializedClusterStateDetail = {
|
|
428
|
+
compressed_size?: Common.HumanReadableByteCount;
|
|
429
|
+
compressed_size_in_bytes?: Common.ByteCount;
|
|
425
430
|
count?: number;
|
|
426
|
-
uncompressed_size?: Common.
|
|
427
|
-
uncompressed_size_in_bytes?: Common.
|
|
431
|
+
uncompressed_size?: Common.HumanReadableByteCount;
|
|
432
|
+
uncompressed_size_in_bytes?: Common.ByteCount;
|
|
428
433
|
}
|
|
429
434
|
|
|
430
|
-
export
|
|
435
|
+
export type ShardAdmissionControlStats = {
|
|
431
436
|
global_cpu_usage?: UsageStats;
|
|
432
437
|
global_io_usage?: UsageStats;
|
|
433
438
|
}
|
|
434
439
|
|
|
435
440
|
export type ShardCachesStats = Record<string, ShardCacheStats>
|
|
436
441
|
|
|
437
|
-
export
|
|
442
|
+
export type ShardCacheStats = {
|
|
438
443
|
evictions?: number;
|
|
439
444
|
hit_count?: number;
|
|
440
445
|
item_count?: number;
|
|
441
446
|
miss_count?: number;
|
|
442
|
-
size?: Common.
|
|
443
|
-
size_in_bytes?: Common.
|
|
447
|
+
size?: Common.HumanReadableByteCount;
|
|
448
|
+
size_in_bytes?: Common.ByteCount;
|
|
444
449
|
store_name?: string;
|
|
445
450
|
}
|
|
446
451
|
|
|
447
|
-
export
|
|
452
|
+
export type ShardClusterManagerThrottlingStats = {
|
|
448
453
|
stats?: ShardClusterManagerThrottlingStatsDetail;
|
|
449
454
|
}
|
|
450
455
|
|
|
451
|
-
export
|
|
456
|
+
export type ShardClusterManagerThrottlingStatsDetail = {
|
|
452
457
|
throttled_tasks_per_task_type?: Record<string, any>;
|
|
453
458
|
total_throttled_tasks?: number;
|
|
454
459
|
}
|
|
455
460
|
|
|
456
|
-
export
|
|
461
|
+
export type ShardIndexingPressureStats = {
|
|
457
462
|
enabled?: boolean;
|
|
458
463
|
enforced?: boolean;
|
|
459
464
|
stats?: Record<string, any>;
|
|
@@ -465,33 +470,33 @@ export type ShardRepositoriesStats = any[]
|
|
|
465
470
|
|
|
466
471
|
export type ShardResourceUsageStats = Record<string, ShardResourceUsageStatsDetail>
|
|
467
472
|
|
|
468
|
-
export
|
|
469
|
-
cpu_utilization_percent?: Common.
|
|
473
|
+
export type ShardResourceUsageStatsDetail = {
|
|
474
|
+
cpu_utilization_percent?: Common.PercentageString;
|
|
470
475
|
io_usage_stats?: ShardResourceUsageStatsIoUsageStats;
|
|
471
|
-
memory_utilization_percent?: Common.
|
|
476
|
+
memory_utilization_percent?: Common.PercentageString;
|
|
472
477
|
timestamp?: number;
|
|
473
478
|
}
|
|
474
479
|
|
|
475
|
-
export
|
|
476
|
-
max_io_utilization_percent?: Common.
|
|
480
|
+
export type ShardResourceUsageStatsIoUsageStats = {
|
|
481
|
+
max_io_utilization_percent?: Common.PercentageString;
|
|
477
482
|
}
|
|
478
483
|
|
|
479
484
|
export type ShardSearchBackpressureMode = 'disabled' | 'enforced' | 'monitor_only'
|
|
480
485
|
|
|
481
|
-
export
|
|
486
|
+
export type ShardSearchBackpressureStats = {
|
|
482
487
|
mode?: ShardSearchBackpressureMode;
|
|
483
488
|
search_shard_task?: ShardSearchBackpressureTaskStats;
|
|
484
489
|
search_task?: ShardSearchBackpressureTaskStats;
|
|
485
490
|
}
|
|
486
491
|
|
|
487
|
-
export
|
|
492
|
+
export type ShardSearchBackpressureTaskCancellationStats = {
|
|
488
493
|
cancellation_count?: number;
|
|
489
494
|
cancellation_limit_reached_count?: number;
|
|
490
|
-
cancelled_task_percentage?:
|
|
495
|
+
cancelled_task_percentage?: Common.PercentageNumber;
|
|
491
496
|
current_cancellation_eligible_tasks_count?: number;
|
|
492
497
|
}
|
|
493
498
|
|
|
494
|
-
export
|
|
499
|
+
export type ShardSearchBackpressureTaskResourceTrackerCpuUsageTrackerStats = {
|
|
495
500
|
cancellation_count?: number;
|
|
496
501
|
current_avg?: Common.Duration;
|
|
497
502
|
current_avg_millis?: Common.DurationValueUnitMillis;
|
|
@@ -499,7 +504,7 @@ export interface ShardSearchBackpressureTaskResourceTrackerCpuUsageTrackerStats
|
|
|
499
504
|
current_max_millis?: Common.DurationValueUnitMillis;
|
|
500
505
|
}
|
|
501
506
|
|
|
502
|
-
export
|
|
507
|
+
export type ShardSearchBackpressureTaskResourceTrackerElapsedTimeTrackerStats = {
|
|
503
508
|
cancellation_count?: number;
|
|
504
509
|
current_avg?: Common.Duration;
|
|
505
510
|
current_avg_millis?: Common.DurationValueUnitMillis;
|
|
@@ -507,35 +512,35 @@ export interface ShardSearchBackpressureTaskResourceTrackerElapsedTimeTrackerSta
|
|
|
507
512
|
current_max_millis?: Common.DurationValueUnitMillis;
|
|
508
513
|
}
|
|
509
514
|
|
|
510
|
-
export
|
|
515
|
+
export type ShardSearchBackpressureTaskResourceTrackerHeapUsageTrackerStats = {
|
|
511
516
|
cancellation_count?: number;
|
|
512
|
-
current_avg?: Common.
|
|
513
|
-
current_avg_bytes?: Common.
|
|
514
|
-
current_max?: Common.
|
|
515
|
-
current_max_bytes?: Common.
|
|
516
|
-
rolling_avg?: Common.
|
|
517
|
-
rolling_avg_bytes?: Common.
|
|
517
|
+
current_avg?: Common.HumanReadableByteCount;
|
|
518
|
+
current_avg_bytes?: Common.ByteCount;
|
|
519
|
+
current_max?: Common.HumanReadableByteCount;
|
|
520
|
+
current_max_bytes?: Common.ByteCount;
|
|
521
|
+
rolling_avg?: Common.HumanReadableByteCount;
|
|
522
|
+
rolling_avg_bytes?: Common.ByteCount;
|
|
518
523
|
}
|
|
519
524
|
|
|
520
|
-
export
|
|
525
|
+
export type ShardSearchBackpressureTaskResourceTrackerStats = {
|
|
521
526
|
cpu_usage_tracker?: ShardSearchBackpressureTaskResourceTrackerCpuUsageTrackerStats;
|
|
522
527
|
elapsed_time_tracker?: ShardSearchBackpressureTaskResourceTrackerElapsedTimeTrackerStats;
|
|
523
528
|
heap_usage_tracker?: ShardSearchBackpressureTaskResourceTrackerHeapUsageTrackerStats;
|
|
524
529
|
}
|
|
525
530
|
|
|
526
|
-
export
|
|
531
|
+
export type ShardSearchBackpressureTaskStats = {
|
|
527
532
|
cancellation_stats?: ShardSearchBackpressureTaskCancellationStats;
|
|
528
533
|
completion_count?: number;
|
|
529
534
|
resource_tracker_stats?: ShardSearchBackpressureTaskResourceTrackerStats;
|
|
530
535
|
}
|
|
531
536
|
|
|
532
|
-
export
|
|
537
|
+
export type ShardSearchPipelineStats = {
|
|
533
538
|
pipelines?: Record<string, any>;
|
|
534
539
|
total_request?: ShardSearchPipelineTotalStats;
|
|
535
540
|
total_response?: ShardSearchPipelineTotalStats;
|
|
536
541
|
}
|
|
537
542
|
|
|
538
|
-
export
|
|
543
|
+
export type ShardSearchPipelineTotalStats = {
|
|
539
544
|
count?: number;
|
|
540
545
|
current?: number;
|
|
541
546
|
failed?: number;
|
|
@@ -543,28 +548,28 @@ export interface ShardSearchPipelineTotalStats {
|
|
|
543
548
|
time_in_millis?: Common.DurationValueUnitMillis;
|
|
544
549
|
}
|
|
545
550
|
|
|
546
|
-
export
|
|
551
|
+
export type ShardSegmentReplicationBackpressureStats = {
|
|
547
552
|
total_rejected_requests?: number;
|
|
548
553
|
}
|
|
549
554
|
|
|
550
|
-
export
|
|
555
|
+
export type ShardTaskCancellationStats = {
|
|
551
556
|
search_shard_task?: ShardTaskCancellationStatsDetail;
|
|
552
557
|
}
|
|
553
558
|
|
|
554
|
-
export
|
|
559
|
+
export type ShardTaskCancellationStatsDetail = {
|
|
555
560
|
current_count_post_cancel?: number;
|
|
556
561
|
total_count_post_cancel?: number;
|
|
557
562
|
}
|
|
558
563
|
|
|
559
|
-
export
|
|
564
|
+
export type ShardWeightedRoutingStats = {
|
|
560
565
|
stats?: ShardWeightedRoutingStatsDetail;
|
|
561
566
|
}
|
|
562
567
|
|
|
563
|
-
export
|
|
568
|
+
export type ShardWeightedRoutingStatsDetail = {
|
|
564
569
|
fail_open_count?: number;
|
|
565
570
|
}
|
|
566
571
|
|
|
567
|
-
export
|
|
572
|
+
export type Stats = {
|
|
568
573
|
adaptive_selection?: Record<string, AdaptiveSelection>;
|
|
569
574
|
admission_control?: ShardAdmissionControlStats;
|
|
570
575
|
attributes?: Record<string, string>;
|
|
@@ -583,6 +588,7 @@ export interface Stats {
|
|
|
583
588
|
name?: Common.Name;
|
|
584
589
|
os?: OperatingSystem;
|
|
585
590
|
process?: Process;
|
|
591
|
+
remote_store?: RemoteStoreStats;
|
|
586
592
|
repositories?: ShardRepositoriesStats;
|
|
587
593
|
resource_usage_stats?: ShardResourceUsageStats;
|
|
588
594
|
roles?: Common.NodeRoles;
|
|
@@ -600,7 +606,7 @@ export interface Stats {
|
|
|
600
606
|
weighted_routing?: ShardWeightedRoutingStats;
|
|
601
607
|
}
|
|
602
608
|
|
|
603
|
-
export
|
|
609
|
+
export type ThreadCount = {
|
|
604
610
|
active?: number;
|
|
605
611
|
completed?: number;
|
|
606
612
|
largest?: number;
|
|
@@ -611,36 +617,36 @@ export interface ThreadCount {
|
|
|
611
617
|
total_wait_time_in_nanos?: number;
|
|
612
618
|
}
|
|
613
619
|
|
|
614
|
-
export
|
|
620
|
+
export type TotalRejectionsBreakup = {
|
|
615
621
|
no_successful_request_limits?: number;
|
|
616
622
|
node_limits?: number;
|
|
617
623
|
throughput_degradation_limits?: number;
|
|
618
624
|
}
|
|
619
625
|
|
|
620
|
-
export
|
|
626
|
+
export type Transport = {
|
|
621
627
|
inbound_handling_time_histogram?: TransportHistogram[];
|
|
622
628
|
outbound_handling_time_histogram?: TransportHistogram[];
|
|
623
629
|
rx_count?: number;
|
|
624
|
-
rx_size?: Common.
|
|
625
|
-
rx_size_in_bytes?: Common.
|
|
630
|
+
rx_size?: Common.HumanReadableByteCount;
|
|
631
|
+
rx_size_in_bytes?: Common.ByteCount;
|
|
626
632
|
server_open?: number;
|
|
627
633
|
total_outbound_connections?: number;
|
|
628
634
|
tx_count?: number;
|
|
629
|
-
tx_size?: Common.
|
|
630
|
-
tx_size_in_bytes?: Common.
|
|
635
|
+
tx_size?: Common.HumanReadableByteCount;
|
|
636
|
+
tx_size_in_bytes?: Common.ByteCount;
|
|
631
637
|
}
|
|
632
638
|
|
|
633
|
-
export
|
|
639
|
+
export type TransportHistogram = {
|
|
634
640
|
count?: number;
|
|
635
641
|
ge_millis?: number;
|
|
636
642
|
lt_millis?: number;
|
|
637
643
|
}
|
|
638
644
|
|
|
639
|
-
export
|
|
645
|
+
export type TransportUsageStats = {
|
|
640
646
|
rejection_count?: Record<string, any>;
|
|
641
647
|
}
|
|
642
648
|
|
|
643
|
-
export
|
|
649
|
+
export type UsageStats = {
|
|
644
650
|
transport?: TransportUsageStats;
|
|
645
651
|
}
|
|
646
652
|
|