Skip to content

Commit

Permalink
Separate mainnet + testnet telemetry (#3786)
Browse files Browse the repository at this point in the history
  • Loading branch information
danield9tqh authored Apr 19, 2023
1 parent b872b70 commit c946de9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ironfish/src/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,10 @@ export class IronfishNode {
metrics,
workerPool,
localPeerIdentity: privateIdentityToIdentity(identity),
defaultTags: [{ name: 'version', value: pkg.version }],
defaultTags: [
{ name: 'version', value: pkg.version },
{ name: 'networkId', value: networkId.toString() },
],
defaultFields: [
{ name: 'node_id', type: 'string', value: internal.get('telemetryNodeId') },
{ name: 'session_id', type: 'string', value: uuid() },
Expand Down

0 comments on commit c946de9

Please sign in to comment.