Version 0.3.4 Generated from the code

Configuration reference

Each key with its type, its range and its forms. The program makes this page from its table of keys.

This page comes from docs/configuration-reference.md in the repository.

This document is the reference of the configuration keys of Hune. The command hune print-reference --format markdown generates it from the key table in the code. Do not edit it by hand.

Hune reads one HCL file. The file is the only source of the configuration. Seven keys have a default value and can be absent: server.query_inspect (default false), server.repeat_max_per_panel (default 24), server.repeat_max_per_section (default 12), server.repeat_max_per_dashboard (default 120), server.compress_static (default true), server.transform_max_cells (default 10000000) and server.list_filters_min_dashboards (default 6). The key clickhouse "<id>".adhoc_columns is optional and has no default: absent, no ad hoc filter applies on that source. For each other key, a key that applies is necessary and a key that does not apply is forbidden.

The column Forms uses three letters. V is a value in the file. E is <name>_env, the name of an environment variable. F is <name>_file, the absolute path of a file. Give exactly one form for each key. A secret accepts only E and F.

A duration is a text with one whole number and one unit: ms, s, m or h. A size is a whole number of bytes. An integer is a whole number with no sign and no zero at the start. A text is in double quotes. A list is texts in brackets with commas.

The reference value is the value that the reference files use. It is not a default, except for the seven keys that have a default value. Run hune print-reference --format hcl --profile local or --profile distributed to get a complete file. These two files hold no postgres block, no mongodb block and no geomap block. The reference value of a postgres key, a mongodb key or a geomap key is a value for the example block of section 13.

Section 13 of the specification gives the checks after the key table, the contradictions and the warnings.

Blocks

BlockCountNecessary whenForbidden when
server1alwaysnever
log1alwaysnever
telemetry1alwaysnever
storage1alwaysnever
storage.volume "<id>"0 to 16alwaysnever
storage.postgres0 or 1no storage.volume block existsnever
storage.postgres.tls0 or 1storage.postgres.sslmode = "verify-full"storage.postgres.sslmode = "disable"
access1alwaysnever
access.identity0 or 1access.mode = "authzen"access.mode = "open"
access.pdp0 or 1access.mode = "authzen"access.mode = "open"
clickhouse "<id>"0 to 64alwaysnever
clickhouse "<id>".tls0 or 1the url of the block has the scheme httpsthe url of the block has the scheme http
postgres "<id>"0 to 64alwaysnever
postgres "<id>".tls0 or 1sslmode = "verify-full" of the blocksslmode = "disable" of the block
mongodb "<id>"0 to 64alwaysnever
mongodb "<id>".tls0 or 1tls_mode = "verify-full" of the blocktls_mode = "disable" of the block
geomap0 or 1never (the block is optional)never

Block server

The two listeners and the limits of the server (section 14).

KeyType and rangeSecretFormsNecessary whenForbidden whenReference valueDescription
server.listenan IP address and a port in canonical formnoValwaysnever"0.0.0.0:8080"The main listener (14.2). Give the canonical form of an IP address and a port.
server.ops_listenan IP address and a port in canonical formnoValwaysnever"0.0.0.0:9090"The listener of the probes and the metrics (14.2). Its port is not the port of server.listen.
server.base_patha text of 1 to 128 bytes with no control characternoValwaysnever"/"The prefix of the routes of server.listen. Give /, or a path that starts and ends with /. A segment has 1 to 64 characters from A-Z a-z 0-9 . _ ~ -, and is not . or ...
server.historya booleannoValwaysnevertrueThe value true gives the history of a dashboard of the primary store: the list of versions, one version, the diff of two versions and the restore (6.17, 6.18). The value false refuses these routes with 403 history_disabled, and the page shows no History entry. The key has no default: the file always says it. In the mode authzen, the value true is the ceiling, and the PDP can only restrict it with the action dashboard.history (11.18).
server.exporta booleannoValwaysnevertrueThe value true gives the file of the current document of a dashboard: download=true on the read of a dashboard (6.14). The value false refuses these requests with 403 export_disabled, and the page shows no Export or Download entry. The key has no default: the file always says it. In the mode authzen, the value true is the ceiling, and the PDP can only restrict it with the action dashboard.export (11.18).
server.query_inspecta booleannoVnever (the key is optional)neverfalseThe value true adds the expanded SQL to the answer of a panel query, for the menu item Inspect (6.20). The key is optional. The default is false.
server.repeat_max_per_panelan integer from 1 to 200noVnever (the key is optional)never24The most copies of one panel that repeats by a variable (4.13a). Above it, the page shows a message and no copy. The key is optional. The default is 24. The upper bound is the limit of panels of one document (4.35).
server.repeat_max_per_sectionan integer from 1 to 50noVnever (the key is optional)never12The most copies of one section that repeats by a variable (4.13a). The key is optional. The default is 12. The upper bound is the limit of sections of one document (4.35).
server.repeat_max_per_dashboardan integer from 1 to 200noVnever (the key is optional)never120The most copies of panels that repeat in one dashboard (4.13a). The key is optional. The default is 120. The upper bound is the limit of panels of one document (4.35). Contradictions C28 and C29 compare it with the two keys above.
server.compress_statica booleannoVnever (the key is optional)nevertrueThe value true sends the gzip copy of a static file of a text type when the request accepts gzip (9.3). Hune makes the copies one time at start. An API answer and the shell are never compressed. The key is optional. The default is true.
server.transform_max_cellsan integer from 1 to 100000000noVnever (the key is optional)never10000000The most cells (fields times rows) of the frame that one step of a transform makes in the page (4.35, 9.21a, rule 13). Above it, the panel shows an error and no frame. The session gives the value to the page (6.10). The key is optional. The default is 10000000. The upper bound is fixed. One cell takes 9 bytes or more: a double and a null flag. Thus 100000000 cells take 900 MB or more, near the memory of one browser tab.
server.list_filters_min_dashboardsan integer from 0 to 1000noVnever (the key is optional)never6The list page shows the sort control and the tag filter only when the user sees more dashboards than this number (9.7). With this number or fewer, the page hides them. The value 0 shows them for any list that is not empty. The session gives the value to the page (6.10). The key is optional. The default is 6. The upper bound is fixed at 1000.
server.max_connectionsan integer from 16 to 65536noValwaysnever1024The most open connections on server.listen.
server.idle_timeouta duration from 1s to 10mnoValwaysnever"75s"Hune closes a kept connection that is idle for this time.
server.shutdown_gracea duration from 5s to 10mnoValwaysnever"30s"The longest graceful stop (14.13).
server.max_request_bytesa size in bytes from 4259840 to 67108864noValwaysnever8388608The body limit of a dashboard create, save or import (12.16). The lowest value is the document limit of section 4 plus 65536.
server.max_result_memory_bytesa size in bytes from 16777216 to 68719476736noValwaysnever536870912The memory budget of the results in flight (12.16).

Block log

The log level (14.6).

KeyType and rangeSecretFormsNecessary whenForbidden whenReference valueDescription
log.level"error", "warn", "info" or "debug"noValwaysnever"info"The lowest level that Hune writes (14.6).

Block telemetry

The export of the spans with OTLP (14.9).

KeyType and rangeSecretFormsNecessary whenForbidden whenReference valueDescription
telemetry.enableda booleannoValwaysneverfalseThe value true exports the spans with OTLP (14.9).
telemetry.otlp_endpointa text of 1 to 2048 bytes with no control characternoV, E, Ftelemetry.enabled = truetelemetry.enabled = false"http://otel-collector:4318"A URL with the scheme http or https, a host and an optional port. It has no path, query, fragment or user info. Hune sends to <endpoint>/v1/traces.
telemetry.ca_filean absolute path of 1 to 4096 bytesnoVtelemetry.enabled = true and an https endpointtelemetry.enabled = false, or an http endpointabsentA PEM file of CA certificates (13.13).
telemetry.service_namea text of 1 to 64 bytes of printable ASCIInoVtelemetry.enabled = truetelemetry.enabled = false"hune"The resource attribute service.name.
telemetry.export_intervala duration from 1s to 5mnoVtelemetry.enabled = truetelemetry.enabled = false"15s"The period of the export.

Block storage

The store of the dashboards (section 5).

KeyType and rangeSecretFormsNecessary whenForbidden whenReference valueDescription
storage.read_onlya booleannoVno store has primary = truea store has primary = trueabsentThe value true says that no store is the primary store: each store is read-only and Hune accepts no write, no history and no editor. The key is necessary when no store has primary = true. The value false is not valid (section 5).

Block storage.volume "<id>"

One volume store: one file for each dashboard. The label is the store id. The store with primary = true is writable. Each other store is read-only.

KeyType and rangeSecretFormsNecessary whenForbidden whenReference valueDescription
storage.volume "<id>".pathan absolute path of 1 to 4096 bytesnoValwaysnever"/var/lib/hune/dashboards" (local), absent (distributed)The directory of the dashboards. The path is canonical: it has no . or .. segment and no repeated or last / (section 5).
storage.volume "<id>".titlea text of 1 to 128 bytes with no control characternoVthe store is not the primarythe store is the primary"Lab"The name of the root folder of the store in the page. A read-only store needs it, and the primary store has none (section 5).
storage.volume "<id>".primarya booleannoVnever (the key is optional)another store has primary = truetrue (local), absent (distributed)The value true makes this store the primary store: the only store that accepts writes. At most one store has it. The key is optional (section 5).
storage.volume "<id>".rescan_intervala duration from 1s to 1hnoValwaysnever"5s" (local), absent (distributed)The period of the scan for changes made outside Hune.
storage.volume "<id>".history_keepan integer from 1 to 10000noVthe store is the primary and server.history is truethe store is not the primary, or server.history is false100 (local), absent (distributed)The versions kept for each dashboard. Only the primary store has history, and only when server.history is true.

Block storage.postgres

The PostgreSQL store: one row for each dashboard. The store with primary = true is writable. Each other store is read-only.

KeyType and rangeSecretFormsNecessary whenForbidden whenReference valueDescription
storage.postgres.hosta DNS name of 1 to 253 bytes, or an IP addressnoValwaysneverabsent (local), "hune-pg-rw" (distributed)The host of the PostgreSQL server.
storage.postgres.portan integer from 1 to 65535noValwaysneverabsent (local), 5432 (distributed)The port of the PostgreSQL server.
storage.postgres.databasea text of 1 to 63 bytes with no control characternoValwaysneverabsent (local), "hune" (distributed)The name of the database.
storage.postgres.usera text of 1 to 63 bytes with no control characternoV, E, Falwaysneverabsent (local), user_file = "/run/secrets/pg/username" (distributed)The name of the role of serve.
storage.postgres.passworda text of 1 to 1024 bytesyesE, Falwaysneverabsent (local), password_file = "/run/secrets/pg/password" (distributed)The password of the role of serve.
storage.postgres.sslmode"verify-full" or "disable"noValwaysneverabsent (local), "verify-full" (distributed)The value verify-full checks the certificate and the name (12.14).
storage.postgres.max_connectionsan integer from 2 to 64noValwaysneverabsent (local), 8 (distributed)The size of the connection pool.
storage.postgres.connect_timeouta duration from 1s to 1mnoValwaysneverabsent (local), "5s" (distributed)The longest wait for a connection.
storage.postgres.statement_timeouta duration from 100ms to 1mnoValwaysneverabsent (local), "10s" (distributed)The longest statement. Hune also uses it as idle_in_transaction_session_timeout (section 5).
storage.postgres.poll_intervala duration from 1s to 5mnoValwaysneverabsent (local), "5s" (distributed)The period of the poll of the catalog (section 5).
storage.postgres.titlea text of 1 to 128 bytes with no control characternoVthe store is not the primarythe store is the primary"Archive"The name of the root folder of the store in the page. A read-only store needs it, and the primary store has none (section 5).
storage.postgres.primarya booleannoVnever (the key is optional)another store has primary = trueabsent (local), true (distributed)The value true makes this store the primary store: the only store that accepts writes. At most one store has it. The key is optional (section 5).
storage.postgres.history_keepan integer from 1 to 10000noVthe store is the primary and server.history is truethe store is not the primary, or server.history is falseabsent (local), 100 (distributed)The versions kept for each dashboard. Only the primary store has history, and only when server.history is true.

Block storage.postgres.tls

The TLS link to PostgreSQL (12.14).

KeyType and rangeSecretFormsNecessary whenForbidden whenReference valueDescription
storage.postgres.tls.ca_filean absolute path of 1 to 4096 bytesnoValwaysneverabsent (local), "/run/secrets/pg-ca/ca.crt" (distributed)A PEM file of CA certificates (13.13).
storage.postgres.tls.server_namea DNS name of 1 to 253 bytesnoValwaysneverabsent (local), "hune-pg-rw" (distributed)The name that the certificate must hold.

Block access

The access mode (section 11).

KeyType and rangeSecretFormsNecessary whenForbidden whenReference valueDescription
access.mode"open" or "authzen"noValwaysnever"open" (local), "authzen" (distributed)The access mode (11.2).

Block access.identity

The identity token of the edge (11.4).

KeyType and rangeSecretFormsNecessary whenForbidden whenReference valueDescription
access.identity.headera text of 1 to 64 bytes with no control characternoValwaysneverabsent (local), "X-Identity-Token" (distributed)The name of the header that holds the token: 1 to 64 token characters (RFC 9110). It is not Authorization, Proxy-Authorization, Cookie, Host, Content-Type or Content-Length, in any case.
access.identity.issuera text of 1 to 1024 bytes with no control characternoValwaysneverabsent (local), "https://edge.example" (distributed)The value that the claim iss must have.
access.identity.audiencea text of 1 to 256 bytes with no control characternoValwaysneverabsent (local), "dashboards" (distributed)The service id (11.14). It is an id of P 4.1: 1 to 256 bytes of UTF-8.
access.identity.public_keysa text of 1 to 65536 bytesnoV, E, Falwaysneverabsent (local), public_keys_file = "/run/secrets/edge/jwks.json" (distributed)The public keys of the edge: PEM text or a JWK Set with 1 to 16 keys (11.9).
access.identity.max_agea duration from 1s to 24hnoValwaysneverabsent (local), "5m" (distributed)The longest life of a token. A whole number of seconds.
access.identity.clock_skewa duration from 0s to 5mnoValwaysneverabsent (local), "1m" (distributed)The skew that applies to iat and exp. A whole number of seconds.

Block access.pdp

The link to the policy decision point (11.5).

KeyType and rangeSecretFormsNecessary whenForbidden whenReference valueDescription
access.pdp.urla text of 1 to 2048 bytes with no control characternoV, E, Falwaysneverabsent (local), "https://pdp.example:4182" (distributed)A URL with the scheme http or https, a host, an optional port and an optional path. It has no user info, query or fragment.
access.pdp.tokena text of 1 to 4096 bytes with no space and no control characteryesE, Falwaysneverabsent (local), token_file = "/run/secrets/pdp/token" (distributed)The credential of Hune at the PDP. Hune sends it in Authorization: Bearer.
access.pdp.ca_filean absolute path of 1 to 4096 bytesnoVaccess.pdp.plain_http = falseaccess.pdp.plain_http = true, or access.mode = "open"absent (local), "/run/secrets/pdp/ca.pem" (distributed)A PEM file of CA certificates (13.13).
access.pdp.plain_httpa booleannoValwaysneverabsent (local), false (distributed)The value true accepts an http URL. It must agree with the scheme of access.pdp.url.
access.pdp.timeouta duration from 10ms to 1mnoValwaysneverabsent (local), "500ms" (distributed)The longest wait for the PDP.
access.pdp.cache_ttla duration from 0s to 1hnoValwaysneverabsent (local), "30s" (distributed)The longest life of a kept answer.
access.pdp.max_connectionsan integer from 1 to 32noValwaysneverabsent (local), 4 (distributed)The most connections to the PDP.

Block clickhouse "<id>"

One ClickHouse server (section 8). The label is the source id.

KeyType and rangeSecretFormsNecessary whenForbidden whenReference valueDescription
clickhouse "<id>".labela text of 1 to 240 bytes with no control characternoValwaysnever"Production"The label in the page and in the action document: 1 to 60 characters.
clickhouse "<id>".urla text of 1 to 2048 bytes with no control characternoValwaysnever"https://clickhouse:8443"The HTTP interface of ClickHouse: a URL with the scheme http or https, a host and an optional port. It has no path, query, fragment or user info.
clickhouse "<id>".usera text of 1 to 256 bytes with no control characternoV, E, Falwaysnever"hune"The name of the ClickHouse account.
clickhouse "<id>".passworda text of 1 to 1024 bytesyesE, Falwaysneverpassword_file = "/run/secrets/clickhouse/password"The password of the ClickHouse account.
clickhouse "<id>".databasea text of 1 to 64 bytes with no control characternoValwaysnever"analytics"The default database of the queries: a ClickHouse identifier that matches ^[A-Za-z_][A-Za-z0-9_]{0,63}$.
clickhouse "<id>".connect_timeouta duration from 100ms to 1mnoValwaysnever"5s"The longest wait for a connection.
clickhouse "<id>".max_execution_timea duration from 1s to 1hnoValwaysnever"1m"The longest run of a query (11.24, section 8). A whole number of seconds.
clickhouse "<id>".max_result_rowsan integer from 1 to 1000000000noValwaysnever100000The most rows of a result.
clickhouse "<id>".max_result_bytesa size in bytes from 1048576 to 1073741824noValwaysnever33554432The most bytes of a result.
clickhouse "<id>".max_query_sizea size in bytes from 262144 to 16777216noValwaysnever1048576The largest expanded SQL. Hune also sends it as the setting max_query_size (section 7).
clickhouse "<id>".max_concurrentan integer from 1 to 1024noValwaysnever16The most queries at one time on this source.
clickhouse "<id>".queue_waita duration from 0s to 1mnoValwaysnever"5s"The longest wait for a place (12.16).
clickhouse "<id>".max_concurrent_per_subjectan integer from 1 to 1024noVaccess.mode = "authzen"access.mode = "open"absent (local), 6 (distributed)The most queries at one time for one subject on this source. It is at most max_concurrent.
clickhouse "<id>".adhoc_columnsa list of 1 to 256 texts, each of 1 to 64 bytes with no space and no control characternoVnever (the key is optional)never["service", "host", "env"]The columns that an ad hoc filter of this source can name (4.10c, 7.7a). Each item matches ^[A-Za-z_][A-Za-z0-9_]{0,63}$, and no item is repeated. The key is optional, with no default: absent, no ad hoc filter applies on this source. Each listed column is exposed to each viewer of a dashboard of the source whose SQL has $__adhocFilters (12.9).

Block clickhouse "<id>".tls

The TLS link to one ClickHouse server (12.14).

KeyType and rangeSecretFormsNecessary whenForbidden whenReference valueDescription
clickhouse "<id>".tls.ca_filean absolute path of 1 to 4096 bytesnoValwaysnever"/run/secrets/clickhouse/ca.pem"A PEM file of CA certificates (13.13).
clickhouse "<id>".tls.server_namea DNS name of 1 to 253 bytesnoValwaysnever"clickhouse"The name that the certificate must hold.

Block postgres "<id>"

One PostgreSQL server for panel queries (section 8a). It is not the storage backend. The label is the source id and it is unique across both kinds of source.

KeyType and rangeSecretFormsNecessary whenForbidden whenReference valueDescription
postgres "<id>".labela text of 1 to 240 bytes with no control characternoValwaysnever"Metrics"The label in the page and in the action document: 1 to 60 characters.
postgres "<id>".hosta DNS name of 1 to 253 bytes, or an IP addressnoValwaysnever"hune-pg-ro"The one host that Hune connects to (8a.4): a DNS name or an IP address. A Unix socket path is not valid.
postgres "<id>".portan integer from 1 to 65535noValwaysnever5432The port of the host.
postgres "<id>".databasea text of 1 to 63 bytes with no control characternoValwaysnever"analytics"The database of the connection.
postgres "<id>".usera text of 1 to 63 bytes with no control characternoV, E, Falwaysneveruser_file = "/run/secrets/postgres-metrics/username"The name of the read-only role (8a.13). The role must not be the role of the store on the same server.
postgres "<id>".passworda text of 1 to 1024 bytesyesE, Falwaysneverpassword_file = "/run/secrets/postgres-metrics/password"The password of the read-only role.
postgres "<id>".search_patha text of 1 to 256 bytes with no control characternoValwaysnever"metrics"1 to 8 names separated by , with no blank. A name matches ^[a-z_][a-z0-9_]{0,62}$, does not start with pg_temp and is not repeated. Hune sends it as the session value (8a.4).
postgres "<id>".sslmode"verify-full" or "disable"noValwaysnever"verify-full"The value verify-full checks the certificate and the name (12.14).
postgres "<id>".connect_timeouta duration from 100ms to 1mnoValwaysnever"5s"The longest time for the connection, the TLS handshake, the login and the setup check (8a.4).
postgres "<id>".max_execution_timea duration from 1s to 1hnoValwaysnever"1m"The longest run of a query (11.24, section 8a). A whole number of seconds.
postgres "<id>".max_result_rowsan integer from 1 to 1000000000noValwaysnever100000The most rows of a result.
postgres "<id>".max_result_bytesa size in bytes from 1048576 to 1073741824noValwaysnever33554432The most bytes of a result.
postgres "<id>".max_query_sizea size in bytes from 262144 to 16777216noValwaysnever1048576The largest expanded SQL (section 7). Hune checks it itself.
postgres "<id>".max_concurrentan integer from 1 to 256noValwaysnever16The most queries at one time on this source, and the size of its pool (8a.9).
postgres "<id>".queue_waita duration from 0s to 1mnoValwaysnever"5s"The longest wait for a place (12.16).
postgres "<id>".max_concurrent_per_subjectan integer from 1 to 256noVaccess.mode = "authzen"access.mode = "open"6The most queries at one time for one subject on this source. It is at most max_concurrent.

Block postgres "<id>".tls

The TLS link to one PostgreSQL source (12.14).

KeyType and rangeSecretFormsNecessary whenForbidden whenReference valueDescription
postgres "<id>".tls.ca_filean absolute path of 1 to 4096 bytesnoVsslmode = "verify-full"sslmode = "disable""/run/secrets/postgres-metrics-ca/ca.crt"A PEM file of CA certificates (13.13).
postgres "<id>".tls.server_namea DNS name of 1 to 253 bytesnoVsslmode = "verify-full"sslmode = "disable""hune-pg-ro"The name that the certificate must hold.

Block mongodb "<id>"

One MongoDB server or one replica set for panel queries (section 8b). The label is the source id and it is unique across the three kinds of source.

KeyType and rangeSecretFormsNecessary whenForbidden whenReference valueDescription
mongodb "<id>".labela text of 1 to 240 bytes with no control characternoValwaysnever"Events"The label in the page and in the action document: 1 to 60 characters.
mongodb "<id>".topology"direct" or "replica_set"noValwaysnever"direct"The value direct is one host, with no discovery. The value replica_set is the complete list of the members (8b.4).
mongodb "<id>".hosta DNS name of 1 to 253 bytes, or an IP addressnoVtopology = "direct"topology = "replica_set""hune-mongo-ro"The one host that Hune connects to (8b.4): a DNS name or an IP address. A Unix socket path, a connection string and the scheme mongodb+srv are not valid.
mongodb "<id>".portan integer from 1 to 65535noVtopology = "direct"topology = "replica_set"27017The port of the host.
mongodb "<id>".hostsa list of 2 to 7 texts, each of 1 to 262 bytes with no space and no control characternoVtopology = "replica_set"topology = "direct"["mongo-0:27017", "mongo-1:27017", "mongo-2:27017"]The members of the replica set, all of them (8b.4). Each item is host:port, with an IPv6 address in brackets and a port from 1 to 65535. No item is repeated.
mongodb "<id>".replica_seta text of 1 to 64 bytes with no control characternoVtopology = "replica_set"topology = "direct""rs0"The name of the replica set. It matches ^[A-Za-z0-9][A-Za-z0-9_.-]{0,63}$.
mongodb "<id>".usera text of 1 to 128 bytes with no control characternoV, E, Falwaysneveruser_file = "/run/secrets/mongodb-events/username"The name of the read-only user (8b.13).
mongodb "<id>".passworda text of 1 to 1024 bytesyesE, Falwaysneverpassword_file = "/run/secrets/mongodb-events/password"The password of the read-only user.
mongodb "<id>".auth_databasea text of 1 to 63 bytes with no control characternoValwaysnever"admin"The database that holds the user. It matches ^[A-Za-z0-9_-]{1,63}$. It can be admin.
mongodb "<id>".databasesa list of 1 to 8 texts, each of 1 to 63 bytes with no control characternoValwaysnever["analytics"]The databases that a query can read (7.33). Each item matches ^[A-Za-z0-9_-]{1,63}$ and is not admin, local or config. No item is repeated.
mongodb "<id>".collectionsa list of 1 to 64 texts, each of 1 to 100 bytes with no control characternoValwaysnever["node_load", "node_events"]The collections that a query can name (7.33). Each item matches ^[A-Za-z0-9_][A-Za-z0-9_.-]{0,99}$ and does not start with system.. No item is repeated.
mongodb "<id>".read_preference"primary", "primaryPreferred", "secondary", "secondaryPreferred" or "nearest"noValwaysnever"secondaryPreferred"The read preference of each command (8b.5).
mongodb "<id>".tls_mode"verify-full" or "disable"noValwaysnever"verify-full"The value verify-full checks the certificate and the host name (12.14).
mongodb "<id>".connect_timeouta duration from 100ms to 1mnoValwaysnever"5s"The longest time for the connection, the TLS handshake, the login and the server selection (8b.4).
mongodb "<id>".max_execution_timea duration from 1s to 1hnoValwaysnever"1m"The longest run of a query (11.24, section 8b). A whole number of seconds.
mongodb "<id>".max_result_rowsan integer from 1 to 1000000000noValwaysnever100000The most rows of a result.
mongodb "<id>".max_result_bytesa size in bytes from 1048576 to 1073741824noValwaysnever33554432The most bytes of a result.
mongodb "<id>".max_query_sizea size in bytes from 262144 to 8388608noValwaysnever1048576The largest BSON size of the expanded command (7.35). Hune checks it itself.
mongodb "<id>".max_concurrentan integer from 1 to 256noValwaysnever16The most queries at one time on this source (8b.9).
mongodb "<id>".queue_waita duration from 0s to 1mnoValwaysnever"5s"The longest wait for a place (12.16).
mongodb "<id>".max_concurrent_per_subjectan integer from 1 to 256noVaccess.mode = "authzen"access.mode = "open"6The most queries at one time for one subject on this source. It is at most max_concurrent.

Block mongodb "<id>".tls

The TLS link to one MongoDB source (12.14).

KeyType and rangeSecretFormsNecessary whenForbidden whenReference valueDescription
mongodb "<id>".tls.ca_filean absolute path of 1 to 4096 bytesnoVtls_mode = "verify-full"tls_mode = "disable""/run/secrets/mongodb-events-ca/ca.crt"A PEM file of CA certificates (13.13).

Block geomap

The tile source of the panel type geomap (13.12c). The block is optional. Without it, the page contacts no tile host, and a map draws its markers on a plain background.

KeyType and rangeSecretFormsNecessary whenForbidden whenReference valueDescription
geomap.tile_urla text of 16 to 512 bytes of printable ASCIInoVthe block geomap existsnever"https://tiles.example.org/osm/{z}/{x}/{y}.png"The template of the URL of a tile (13.12c). It has https://, a lower-case DNS name with a dot, an optional port and a path. The path holds {z}, {x} and {y} once each. An optional fixed query can follow. The page loads each tile as an image. The directive img-src gets the host and the path up to the last / before the first placeholder (12.8).
geomap.attributiona text of 1 to 800 bytes with no control characternoVthe block geomap existsnever"Map tiles: example.org"The attribution of the tiles: 1 to 200 characters, with no bidirectional control, no zero-width character and no line or paragraph separator. The page shows it as text, with no link.
geomap.max_zooman integer from 0 to 22noVthe block geomap existsnever19The highest zoom of a map. The lowest zoom is 0.