Skip to main content

records

Typed specification

Generated by the pinned ess generate --kind docs from adapters/grafana/spec/ess. Structural validation establishes consistency; behaviour, storage and cross-record predicates remain implementation obligations.

The bounded data-source records datasources.list returns, read from Grafana's GET /api/datasources.

connectors_grafana.records is one of connectors_grafana's bounded contexts. Back to the index.

Types​

DatasourceAccess​

connectors_grafana.records.DatasourceAccess is one of proxy and direct.

DatasourceList​

connectors_grafana.records.DatasourceList is a record of two fields:

  • items — List<connectors_grafana.records.DatasourceRecord>
  • complete — Boolean

Every value satisfies items.count <= 1000.

DatasourceRecord​

connectors_grafana.records.DatasourceRecord is a record of five fields:

  • uid — connectors_grafana.records.DatasourceUid
  • name — String
  • type — String
  • access — connectors_grafana.records.DatasourceAccess
  • is_default — Boolean

Every value satisfies (name.count >= 1 and name.count <= 190) and (type.count >= 1 and type.count <= 128).

DatasourceUid​

connectors_grafana.records.DatasourceUid wraps String and is not interchangeable with one: the whole value of naming it separately is the crossings the model then refuses. Its characters are drawn from ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-. Every value satisfies (value.count >= 1 and value.count <= 40).

One of the types above is reached by nothing else in this system: connectors_grafana.records.DatasourceList. No entity, view, command, event, error or crossing names it, so it is either vocabulary something outside this specification uses or a leftover — and only a person can tell which.


Generated from connectors_grafana v1 · model digest 5a16b14a6f74fe19a54b52e116e508d3918aa3e17aa0fc985cf6283b400eff6f · contract digest slice-sha256/2:4300e2116f94245bfa9cd07dbc1e372903de7837e8c6f24124d58a7d1e0a101d. Do not edit this file; change the specification and regenerate it with ess generate.