SDK reference / Models

Models.Observability namespace

Types

TypeKindDescription
AcknowledgeAlertIncidentRequestclassAcknowledges an incident.
AlertChannelDeliveryResultclassOutcome of delivering a test alert notification to one configured channel (W152).
AlertComparisonenumAlert comparison operators (ADR-0802, ADR-0803).
AlertFiringStateenumAlert threshold evaluation states (ADR-0802, ADR-0803).
AlertIncidentclassA period in which an alert rule was firing (IP-12; ADR-0828 proposed). Written by the evaluator; a person may acknowledge it.
AlertIncidentStateenumIncident states.
AlertRuleclassA tenant metric alert rule evaluated in-cell by vmalert / ObservabilityReconciler (ADR-0802, ADR-0803, W152).
AlertRuleMergePatchUpdateclassA tenant metric alert rule evaluated in-cell by vmalert / ObservabilityReconciler (ADR-0802, ADR-0803, W152).
AlertRuleMergePatchUpdate_cooldownSecondsMember1class
AlertRuleMergePatchUpdate_displayNameMember1class
AlertRuleMergePatchUpdate_enabledMember1class
AlertRuleMergePatchUpdate_forDurationSecondsMember1class
AlertRuleMergePatchUpdate_notificationChannelsMember1class
AlertRuleMergePatchUpdate_notifyOnResolveMember1class
AlertRuleStateenumAlert rule lifecycle states (ADR-0802, ADR-0803).
AlertRule_annotationsclassAt most 256 KiB in all; never policy input.
AlertRule_labelsclassAt most 64.
AlertSeverityenumAlert severity levels (ADR-0802, ADR-0803).
DashboardclassA saved board of up to 24 tiles, each drawn by the console from the project's own telemetry (ADR-0828). Bring your own Grafana through the Grafana datasource for free-form boards.
DashboardMergePatchUpdateclassA saved board of up to 24 tiles, each drawn by the console from the project's own telemetry (ADR-0828). Bring your own Grafana through the Grafana datasource for free-form boards.
DashboardMergePatchUpdate_displayNameMember1class
DashboardTileclassOne tile of a dashboard.
DashboardTileKindenumWhat a dashboard tile shows.
DashboardTileMergePatchUpdateReplaceOnlyclassOne tile of a dashboard.
DashboardTileMergePatchUpdateReplaceOnly_parametersclassLAKE: the parameters of the statement and their default values, at most 8; a name is lower-case letters, digits and underscores, a value at most 64 characters. A viewer may change them on the page.
DashboardTile_parametersclassLAKE: the parameters of the statement and their default values, at most 8; a name is lower-case letters, digits and underscores, a value at most 64 characters. A viewer may change them on the page.
Dashboard_labelsclassAt most 64.
ErrorGroupclassError log records and failed spans of the last 24 hours grouped by fingerprint: the service, and the exception type or the first line of the messagewith numbers, UUIDs and hex runs replaced (ADR-0828 proposed). The platform groups every five minutes. A new error of a resolved group reopens it.
ErrorGroupStateenumWhere an error group stands.
ExternalTableclassA named view over a bucket prefix: `FROM sales` instead of a path. The SQL name is the ID with hyphens as underscores.
ExternalTableFormatenumThe format of the files an external table reads.
ExternalTableMergePatchUpdateclassA named view over a bucket prefix: `FROM sales` instead of a path. The SQL name is the ID with hyphens as underscores.
ExternalTableMergePatchUpdate_descriptionMember1class
ExternalTableMergePatchUpdate_displayNameMember1class
ExternalTableMergePatchUpdate_patternMember1class
ExternalTableMergePatchUpdate_prefixMember1class
ExternalTable_labelsclassAt most 64.
GrafanaDatasourceResponseclassGrafana datasource metadata response (W38).
GrafanaFrameResultclassOne Grafana timeseries frame response (W38).
GrafanaQueryRequestclassGrafana `/query` request (W38).
GrafanaQueryResponseclassResponse from `:grafanaQuery` (W38).
InferExternalTableRequestclassWhat to sample.
InferExternalTableResponseclassThe columns the engine infers from the files, and a few rows.
LakeColumnclassOne column of an external table.
LakeColumnMergePatchUpdateReplaceOnlyclass
LakeExportclassAn export of a statement's whole result to an object in one of the project's buckets, as Parquet or CSV.
LakeExportStateenumWhat a lake export is doing.
LakePipelineclassA pipeline: steps, a schedule, and what the platform knows of its last run.
LakePipelineLineageclassWhat a step reads and writes, from its statement and its output.
LakePipelineMergePatchUpdateclassA pipeline: steps, a schedule, and what the platform knows of its last run.
LakePipelineMergePatchUpdate_descriptionMember1class
LakePipelineMergePatchUpdate_displayNameMember1class
LakePipelineMergePatchUpdate_enabledMember1class
LakePipelineMergePatchUpdate_scheduleMember1class
LakePipelineRunclassOne run of a pipeline; the newest 50 of each pipeline are kept.
LakePipelineRunStepclassWhat one step of a run did.
LakePipelineStepclassOne step of a pipeline: a read-only statement and where its whole result is written.
LakePipelineStepMergePatchUpdateReplaceOnlyclassOne step of a pipeline: a read-only statement and where its whole result is written.
LakePipeline_labelsclass
LakeQueryErrorclassWhy a query was refused or failed, in the words the person reads.
LakeQueryHistoryEntryclassOne run in the project's lake query history (the newest 50 are kept).
LakeQueryRequestclassWhat a query asks for.
LakeQueryResponseclassThe answer of a run. A refused or failed statement answers 200 with `error` and no rows, so an editor can show the reason.
LakeResultColumnclassOne column of a result.
LakeRunStateenumThe state of a pipeline run or of one of its steps.
LakeTileDisplayenumHow a LAKE tile draws its answer.
LakeTileResultclassThe answer a LAKE tile of a dashboard last got from the platform's scheduled run (its `refreshSeconds`).
LogAnalyticsErrorclassWhere a query is wrong.
LogAnalyticsRunRequestclassWhat a query asks for.
LogAnalyticsRunResponseclassThe answer of a run. A query that does not parse answers 200 with `error` and no rows, so an editor can place the fault; a query thatparses but cannot run (the store is down) answers with a problem.
LogEntryInputclassA single structured log record submitted to the OTLP / HTTP telemetry collector (ADR-0803).
LogEntryInput_attributesclassStructured attributes; client-supplied plat.* keys are stripped and server stamps plat.project and plat.location (never cell_id per ADR-0803).
LogEntryViewclassA tenant-scoped log record returned by logs:query (ADR-0803).
LogEntryView_attributesclassSanitized attributes including server-stamped plat.project and plat.location.
LogExportclassAn export of a query's result to an object in one of the project's buckets, as CSV or JSON. The query runs over the range given when theexport is made, by the platform's exporter, so a result larger than a response is still written whole (up to 10000 rows).
LogExportStateenumWhat an export is doing.
LogQueryAlertclassA scheduled query alert: every `intervalMinutes` the platform runs `query` over the last `windowMinutes`, takes the value (the first row's`valueColumn`, or the first row's first numeric column; with no rows, no data) and compares it with `threshold`. A change to firing tells the`channels`; a return to OK tells them again.
LogQueryAlertComparisonenumHow a query alert compares its value with the threshold.
LogQueryAlertEvaluationclassThe outcome of one evaluation of a query alert (a test run; nobody is told).
LogQueryAlertMergePatchUpdateclassA scheduled query alert: every `intervalMinutes` the platform runs `query` over the last `windowMinutes`, takes the value (the first row's`valueColumn`, or the first row's first numeric column; with no rows, no data) and compares it with `threshold`. A change to firing tells the`channels`; a return to OK tells them again.
LogQueryAlertMergePatchUpdate_channelsMember1class
LogQueryAlertMergePatchUpdate_displayNameMember1class
LogQueryAlertMergePatchUpdate_enabledMember1class
LogQueryAlertMergePatchUpdate_valueColumnMember1class
LogQueryAlertSeverityenumHow serious a firing query alert is.
LogQueryAlertStateenumWhat a query alert is doing.
LogQueryAlert_labelsclassAt most 64.
LogQueryHistoryEntryclassOne run in the project's history (the newest 50 are kept).
LogQueryRequestclassTenant-scoped structured log query request (ADR-0803).
LogQueryResponseclassResponse from logs:query (ADR-0803).
MetricPointInputclassA single metric data point submitted to the OTLP / HTTP telemetry collector (ADR-0803).
MetricPointInput_labelsclassMetric labels; client-supplied plat.* keys are stripped and server stamps plat.project and plat.location (never cell_id per ADR-0803).
MetricPointViewclassA tenant-scoped metric sample returned by metrics:query (ADR-0803).
MetricPointView_labelsclassSanitized labels including server-stamped plat.project and plat.location.
MetricQueryRequestclassTenant-scoped metric query request (ADR-0803).
MetricQueryResponseclassResponse from metrics:query (ADR-0803).
MetricRangeQueryRequestclassTenant-scoped range query over metrics (ADR-0803): PromQL or MetricsQL over the project's own series.
MuteAlertRuleRequestclassMutes an alert rule's notifications. Exactly one of `durationSeconds` and `untilTime`.
MuteErrorGroupRequestclassMutes an error group. Exactly one of `durationSeconds` and `untilTime`.
NotificationChannelclassWhere an alert goes, named once and referenced by alert rules as `notificationChannels/{id}` in `notificationChannels` (IP-12; ADR-0828proposed). A WEBHOOK_ENDPOINT channel names a messaging webhook endpoint (`webhookEndpoints/{id}`), so its signing secret and deliveryare the existing webhook path's.
NotificationChannelCreateclassWhere an alert goes, named once and referenced by alert rules as `notificationChannels/{id}` in `notificationChannels` (IP-12; ADR-0828proposed). A WEBHOOK_ENDPOINT channel names a messaging webhook endpoint (`webhookEndpoints/{id}`), so its signing secret and deliveryare the existing webhook path's.
NotificationChannelCreate_labelsclassAt most 64.
NotificationChannelKindenumKinds of notification channel (ADR-0806, ADR-1116).
NotificationChannelMergePatchUpdateclassWhere an alert goes, named once and referenced by alert rules as `notificationChannels/{id}` in `notificationChannels` (IP-12; ADR-0828proposed). A WEBHOOK_ENDPOINT channel names a messaging webhook endpoint (`webhookEndpoints/{id}`), so its signing secret and deliveryare the existing webhook path's.
NotificationChannelMergePatchUpdate_displayNameMember1class
NotificationChannel_labelsclassAt most 64.
OtlpIngestRequestclassPublic OTLP ingest payload for traces, logs, and metrics (W38).
OtlpIngestResponseclassPublic OTLP ingest response with quota enforcement feedback (W38).
OtlpSpanInputclassOTLP telemetry span item ingested through the public gateway (W38; ADR-0803).
OtlpSpanInput_attributesclass
PromqlQueryRequestclassQuota-bounded PromQL-subset query request (W38).
PromqlQueryResponseclassResponse from `:queryPromql` (W38).
PromqlSeriesResultclassOne time-series returned by PromQL-subset query (W38).
PromqlSeriesResult_metricclass
SavedLakeQueryclassA query the project keeps by name.
SavedLakeQueryMergePatchUpdateclassA query the project keeps by name.
SavedLakeQueryMergePatchUpdate_descriptionMember1class
SavedLakeQueryMergePatchUpdate_displayNameMember1class
SavedLakeQuery_labelsclass
SavedLogQueryclassA query the project keeps by name.
SavedLogQueryMergePatchUpdateclassA query the project keeps by name.
SavedLogQueryMergePatchUpdate_descriptionMember1class
SavedLogQueryMergePatchUpdate_displayNameMember1class
SavedLogQuery_labelsclassAt most 64.
ServiceGoalclassA goal for one web app or container app of the project: a share of good requests over a window, with its error budget and how fast it burns(ADR-0828 proposed). The platform evaluates it every minute from the edge request metrics.
ServiceGoalIndicatorenumWhat a service goal measures.
ServiceGoalMergePatchUpdateclassA goal for one web app or container app of the project: a share of good requests over a window, with its error budget and how fast it burns(ADR-0828 proposed). The platform evaluates it every minute from the edge request metrics.
ServiceGoalMergePatchUpdate_displayNameMember1class
ServiceGoalMergePatchUpdate_latencyBoundMsMember1class
ServiceGoalSampleclassOne evaluation of a service goal.
ServiceGoalSamplesResponseclassA goal's evaluations over a range, oldest first.
ServiceGoalStateenumWhere a service goal stands.
ServiceGoal_labelsclassAt most 64.
TelemetryIngestRequestclassBatch OTLP / structured log and metric ingest payload (ADR-0803).
TelemetryIngestResponseclassResult of a telemetry ingest batch (ADR-0803).
TelemetryPartialSuccessclassOTLP partialSuccess block returned when daily telemetry quota drops overflow records (ADR-0803).
TopologyclassWhat a project's resources were seen to talk to.
TopologyEdgeclassTraffic seen between two nodes in the window.
TopologyNodeclassOne thing on the map.
TopologyNodeKindenumWhat a node is.
TopologySourceenumWhat the platform observed the traffic with.
TopologySourceStatusclassThe sources this cell records at all, so a page can say what it cannot see.
TopologyWindowenumThe window a topology read covers.
TraceAttributeValueclassAn OTLP attribute value; the platform stores strings.
TraceResourceclassThe resource (service) the spans came from.
TraceResourceSpansclassThe spans of one service.
TraceScopeSpansclassThe spans of one scope.
TraceSearchRequestclassSearches a project's traces (ADR-0803): every field narrows; the time range is bounded by the project's trust tier.
TraceSearchResponseclassThe answer of `traces:search`.
TraceSpanclassOne span in OTLP JSON (int64 nanosecond instants are strings, as OTLP JSON has them).
TraceSpanAttributeclassAn attribute of a span or resource (OTLP JSON's key and value; the name is `name` because a property called `key` reads as a credential to contract lint).
TraceSpanStatusclassThe status of a span.
TraceSummaryclassOne trace in a search result.
TraceViewclassA trace in OTLP JSON (ADR-0803): `GET …/traces/{traceId}`.
UptimeCheckclassAn external HTTP/HTTPS synthetic uptime check routed via Smokescreen SSRF egress guard (ADR-0802, ADR-0803).
UptimeCheckMergePatchUpdateclassAn external HTTP/HTTPS synthetic uptime check routed via Smokescreen SSRF egress guard (ADR-0802, ADR-0803).
UptimeCheckMergePatchUpdate_displayNameMember1class
UptimeCheckMergePatchUpdate_expectedBodySubstringMember1class
UptimeCheckMergePatchUpdate_expectedStatusCodeMember1class
UptimeCheckMergePatchUpdate_intervalSecondsMember1class
UptimeCheckMergePatchUpdate_methodMember1class
UptimeCheckMergePatchUpdate_probeLocationsMember1class
UptimeCheckMergePatchUpdate_suspendedMember1class
UptimeCheckMergePatchUpdate_timeoutSecondsMember1class
UptimeCheckStateenumUptime check lifecycle states (ADR-0802, ADR-0803).
UptimeCheck_annotationsclassAt most 256 KiB in all; never policy input.
UptimeCheck_labelsclassAt most 64.
UptimeResultViewclassOne result of an uptime probe (IP-12).
UptimeResultsResponseclassThe results of an uptime check in a range, newest first, and what they come to.
UptimeSummaryclassWhat a range of results comes to.