Skip to content

Commit 3cafa77

Browse files
committed
fix: correct doc errors in observability queries, tracing YAML, and valkey command
Actor-centric log query used ate.dev/actor_id, actual label is ate.dev/actor_name.
1 parent c1ab095 commit 3cafa77

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

docs/dev/best-practices/tracing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ The YAML manifest for your server should include the `OTEL_EXPORTER_OTLP_ENDPOIN
8787
- name: ateapi
8888
image: ko://github.com/agent-substrate/substrate/cmd/ateapi
8989
ports:
90-
- "443:443"
90+
- containerPort: 443
9191
env:
9292
# Tracing related environment variables
9393
- name: OTEL_EXPORTER_OTLP_ENDPOINT

docs/dev/valkey-direct-access.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@ Valkey is the state store used by `ate-api-server` to track actor and worker rec
66
77
To open a `valkey-cli` session:
88

9-
1. `kubectl exec -n=ate-system -it valkey-cluster-0 -- valkey-cli -h valkey-cluster-service -c --tls --cacert /etc/valkey-ca/ca.crt --cer
10-
t /run/servicedns.podcert.ate.dev/credential-bundle.pem --key /run/servicedns.podcert.ate.dev/credential-bundle.pem`
9+
1. `kubectl exec -n=ate-system -it valkey-cluster-0 -- valkey-cli -h valkey-cluster-service -c --tls --cacert /etc/valkey-ca/ca.crt --cert /run/servicedns.podcert.ate.dev/credential-bundle.pem --key /run/servicedns.podcert.ate.dev/credential-bundle.pem`

docs/observability.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,21 +73,21 @@ Because the logging pipeline indexes the core metadata labels, you can query you
7373
To track the unified, continuous lifecycle of a single actor regardless of how many times it migrated across worker pods or was suspended/resumed:
7474

7575
```text
76-
labels.actor_id="test"
76+
labels."ate.dev/actor_name"="test"
7777
```
7878

7979
#### 2. Atespace-Centric View
8080
To monitor or debug all actor instances in a specific atespace (e.g., analyzing the collective behavior or error rates of all actors belonging to one tenant):
8181

8282
```text
83-
labels.actor_atespace="ate-demo-counter"
83+
labels."ate.dev/actor_atespace"="ate-demo-counter"
8484
```
8585

8686
#### 3. Template-Centric View
8787
To monitor or debug all actor instances created from a specific ActorTemplate (e.g., analyzing the collective behavior or error rates of all counter actors). One atespace can run actors from many templates, so this is a distinct dimension from the atespace view above:
8888

8989
```text
90-
labels.actor_template_name="counter"
90+
labels."ate.dev/actor_template_name"="counter"
9191
```
9292

9393
#### 4. Pod-Centric View

0 commit comments

Comments
 (0)