Skip to content

Metadata

Source code in docs_src/capo_cloudwatchomni/types/metadata.py
class Metadata(TypedDict, closed=True):
    metrics: NotRequired[
        "capo_cloudwatchomni.types.metric_metadata_list.MetricMetadataList"
    ]
    """The metrics observed on the element."""
    semantics: NotRequired["capo_cloudwatchomni.types.node_semantics.NodeSemantics"]
    """Semantic description of the node. Absent on an edge, because semantics describe a service rather than a relationship."""
    logs: NotRequired["capo_cloudwatchomni.types.log_metadata_list.LogMetadataList"]
    """LOGS query selectors: a list of blocks to OR together, each block an AND of exact store column to raw value. Present on node metadata only — edges carry trace selectors. Returned when the request sets includeMetadata."""
    traces: NotRequired[
        "capo_cloudwatchomni.types.trace_metadata_list.TraceMetadataList"
    ]
    """TRACES query selectors, same block shape as the logs selectors. Present on both node and edge metadata. Returned when the request sets includeMetadata."""

logs instance-attribute

logs: NotRequired[LogMetadataList]

LOGS query selectors: a list of blocks to OR together, each block an AND of exact store column to raw value. Present on node metadata only — edges carry trace selectors. Returned when the request sets includeMetadata.

metrics instance-attribute

metrics: NotRequired[MetricMetadataList]

The metrics observed on the element.

semantics instance-attribute

semantics: NotRequired[NodeSemantics]

Semantic description of the node. Absent on an edge, because semantics describe a service rather than a relationship.

traces instance-attribute

traces: NotRequired[TraceMetadataList]

TRACES query selectors, same block shape as the logs selectors. Present on both node and edge metadata. Returned when the request sets includeMetadata.