docs: the CI run poller's runtime, cursor volume, own telemetry route and CA ConfigMap
This commit is contained in:
parent
b9ba168b6b
commit
58f623461e
1 changed files with 90 additions and 21 deletions
|
|
@ -11,15 +11,23 @@ the same service produced as a host unit.
|
|||
A pod pushes OTLP to `http://hive-collector.hive:4318`, the address agents use.
|
||||
The node's CoreDNS answers the name with the hive bridge's address
|
||||
([The cluster node](node.md)). The [renderer](manifests.md) sets
|
||||
`OTEL_EXPORTER_OTLP_ENDPOINT` to that address in every pod. For
|
||||
`swarm-ci-metrics`, whose poller reads `SWARM_CI_METRICS_OTLP_ENDPOINT`, it sets
|
||||
that variable too. A unit's own endpoint is a loopback forwarder or a gateway
|
||||
route that needs a token, and a pod has neither. A host without a hive
|
||||
collector keeps the unit's value.
|
||||
`OTEL_EXPORTER_OTLP_ENDPOINT` to that address in every pod of a hive-tier
|
||||
service. A unit's own endpoint is a loopback forwarder or a gateway route that
|
||||
needs a token, and a pod has neither. A host without a hive collector keeps the
|
||||
unit's value.
|
||||
|
||||
The collector stamps the hive's `hive` label on what it forwards, as it does for
|
||||
agents. The pods run on that hive's node.
|
||||
|
||||
A swarm-tier producer keeps its own route. `swarm-ci-metrics` is one: its poller
|
||||
reads `SWARM_CI_METRICS_OTLP_ENDPOINT`, which names its route of the swarm
|
||||
collector, `https://<swarm.otel.domain>/swarm-ci-metrics`, and it mints the
|
||||
bearer that route checks itself on each pass. The renderer sets nothing for such
|
||||
a service (`otlp = "own"` in its entry of `render.nix`), because a series that
|
||||
went through the hive collector would carry the `hive` label, and a swarm-level
|
||||
series must not. The render refuses a service marked `"own"` whose unit names
|
||||
no endpoint.
|
||||
|
||||
## Logs
|
||||
|
||||
With `services.hyperhive.deploy.k8s.enable` on a host that runs the hive
|
||||
|
|
|
|||
Loading…
Reference in a new issue