SDK reference / Models / Observability
DashboardTile
Kind: class
Namespace: Egulu.Sdk.Models.Observability
One tile of a dashboard.
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
Display | Models.Observability.LakeTileDisplay? | display | LAKE: how the answer is drawn (default TABLE). |
Expression | string? | expression | PROMQL: 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. |
Kind | Models.Observability.DashboardTileKind? | kind | What a dashboard tile shows. |
Metric | string? | metric | METRIC: the metric name. |
Parameters | Models.Observability.DashboardTile_parameters? | parameters | LAKE: 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. |
Query | string? | query | LOGS: a substring or LogsQL filter, at most 200 characters. |
RangeSeconds | int? | rangeSeconds | How far back the tile looks, 300 to 2592000 seconds (default 3600). The project's trust tier still caps what a query may ask. |
RefreshAs | string? | refreshAs | LAKE 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. |
RefreshSeconds | int? | refreshSeconds | LAKE: 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. |
Resource | string? | resource | METRIC and LOGS: the exact full name of one resource of this project, `projects/{project}/locations/{location}/{collection}/{id}`. |
Service | string? | service | LOGS: an exact service name. |
Severity | string? | severity | LOGS: an exact severity (TRACE, DEBUG, INFO, WARN, ERROR, FATAL). |
Sql | string? | sql | LAKE: 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. |
Title | string? | title | The tile's title, 1 to 80 characters. |