@@ -105,7 +105,7 @@ version and approximate location.
105105unless told otherwise; the node appears within a few seconds under the name in
106106` VALIDATOR_NAME ` / ` RPC_NAME ` .
107107
108- To opt out, set the variable to empty in the node's ` .env ` and restart :
108+ To opt out, set the variable to empty in the node's ` .env ` :
109109
110110``` sh
111111TELEMETRY_URL=
@@ -117,6 +117,29 @@ To report somewhere else instead, put the whole flag in it:
117117TELEMETRY_URL=--telemetry-url " wss://telemetry.example/submit/ 0"
118118```
119119
120+ Either way, ** the change needs ` up --force-recreate ` , not ` restart ` ** :
121+
122+ ``` sh
123+ docker compose up -d --force-recreate orbinum-rpc-node
124+ ```
125+
126+ ` restart ` restarts the process inside the container that already exists, and a
127+ container's command is fixed when it is created — so the node comes back with
128+ the arguments it had before, and an edited ` .env ` appears to do nothing.
129+ ` docker compose config ` is no help here either: it prints what * would* be
130+ applied, not what the running container holds. To see the arguments a live node
131+ actually has:
132+
133+ ``` sh
134+ docker inspect orbinum-rpc-node --format ' {{join .Config.Cmd " "}}'
135+ ```
136+
137+ The symptom is confusing, which is why it is worth knowing: the chainspec's
138+ ` telemetryEndpoints ` still lists ` telemetry.polkadot.io ` , and ` --telemetry-url `
139+ is what overrides it. A container created without that flag therefore reports
140+ to Polkadot's telemetry — so it looks like a node ignoring the setting, rather
141+ than one that never received it.
142+
120143Three things about that value are load-bearing:
121144
122145- ** The quotes stay.** The node parses ` "<url> <level>" ` as a single argument;
@@ -132,6 +155,13 @@ Note this reports a node's name, version, block height, peer count and
132155approximate location. An operator who does not want that published opts out
133156with the empty value above.
134157
158+ ` testnet-spec.json ` carries an empty ` telemetryEndpoints ` , so clearing
159+ ` TELEMETRY_URL ` really does silence a node. It used to list Parity's endpoint —
160+ inherited from the spec this chain was generated from — which meant opting out
161+ quietly redirected the same data to ` telemetry.polkadot.io ` instead of stopping
162+ it. The field is metadata read by the client, not part of the genesis state, so
163+ emptying it left the chain's genesis hash untouched.
164+
135165## Node image
136166
137167` common/Dockerfile ` builds ` orbinum-node ` . The compose files default to
0 commit comments