async def METHOD_NAME(
    self, node_id=None, metric=None, index_metric=None, params=None, headers=None
):
    """
    Returns statistical information about nodes in the cluster.
    :arg node_id: A comma-separated list of node IDs or names to
        limit the returned information; use `_local` to return information from
        the node you're connecting to, leave empty to get information from all
        nodes
    :arg metric: Limit the information returned to the specified
        metrics  Valid choices: _all, breaker, fs, http, indices, jvm, os,
        process, thread_pool, transport, discovery, indexing_pressure
    :arg index_metric: Limit the information returned for `indices`
        metric to the specific index metrics. Isn't used if `indices` (or `all`)
        metric isn't specified.  Valid choices: _all, completion, docs,
        fielddata, query_cache, flush, get, indexing, merge, request_cache,
        refresh, search, segments, store, warmer, suggest
    :arg completion_fields: A comma-separated list of fields for
        `fielddata` and `suggest` index metric (supports wildcards)
    :arg fielddata_fields: A comma-separated list of fields for
        `fielddata` index metric (supports wildcards)
    :arg fields: A comma-separated list of fields for `fielddata`
        and `completion` index metric (supports wildcards)
    :arg groups: A comma-separated list of search groups for
        `search` index metric
    :arg include_segment_file_sizes: Whether to report the
        aggregated disk usage of each one of the Lucene index files (only
        applies if segment stats are requested)
    :arg include_unloaded_segments: If set to true segment stats
        will include stats for segments that are not currently loaded into
        memory
    :arg level: Return indices stats aggregated at index, node or
        shard level  Valid choices: indices, node, shards  Default: node
    :arg timeout: Explicit operation timeout
    :arg types: A comma-separated list of document types for the
        `indexing` index metric
    """
    return await self.transport.perform_request(
        "GET",
        _make_path("_nodes", node_id, "stats", metric, index_metric),
        params=params,
        headers=headers,
    )