SDK reference / Models / Observability

DashboardTile

Kind: class

Namespace: Egulu.Sdk.Models.Observability

One tile of a dashboard.

Properties

NameTypeJSON nameDescription
DisplayModels.Observability.LakeTileDisplay?displayLAKE: how the answer is drawn (default TABLE).
Expressionstring?expressionPROMQL: the expression, at most 1000 characters. A matcher on `plat_project` or the tenant keys is refused; a `plat_resource` matcher must name a resource of this project.
KindModels.Observability.DashboardTileKind?kindWhat a dashboard tile shows.
Metricstring?metricMETRIC: the metric name.
ParametersModels.Observability.DashboardTile_parameters?parametersLAKE: 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.
Querystring?queryLOGS: a substring or LogsQL filter, at most 200 characters.
RangeSecondsint?rangeSecondsHow far back the tile looks, 300 to 2592000 seconds (default 3600). The project's trust tier still caps what a query may ask.
RefreshAsstring?refreshAsLAKE with a refresh: the member whose permissions the scheduled run reads the files with, the last person who changed the dashboard. Set by the platform.
RefreshSecondsint?refreshSecondsLAKE: how often the platform runs the statement and keeps the answer, 300 to 86400 seconds; 0 or empty runs it when the board is opened.
Resourcestring?resourceMETRIC and LOGS: the exact full name of one resource of this project, `projects/{project}/locations/{location}/{collection}/{id}`.
Servicestring?serviceLOGS: an exact service name.
Severitystring?severityLOGS: an exact severity (TRACE, DEBUG, INFO, WARN, ERROR, FATAL).
Sqlstring?sqlLAKE: one read-only SELECT of at most 16384 characters over the project's external tables. `{{name}}` places a parameter's value: a number as a number, any other value as a quoted text.
Titlestring?titleThe tile's title, 1 to 80 characters.