Connecting to Nethermind hosted Seq and Grafana
Get in touch with the Nethermind team - you will receive and Send us your Grafana Labs login:
(1) seq host
(2) seq API key
(3) Prometheus URL
In the cfg file edit:
"Metrics": { "NodeName": "[chooseNameForYourNode]", "Enabled": true, "PushGatewayUrl": "[PrometheusURL]", "IntervalSeconds": 30 },
In the NLog.config file edit:
1
<target xsi:type="BufferingWrapper" name="seq" bufferSize="1000" flushTimeout="2000">
2
<target xsi:type="Seq" serverUrl="[seqURL]" apiKey="[seqAPIkey]">
3
<property name="ThreadId" value="${threadid}" as="number" />
4
<property name="MachineName" value="${machinename}" />
5
<property name="Logger" value="${logger}" />
6
<property name="Exception" value="${exception}" />
7
<property name="Enode" value="${gdc:item=enode}" />
8
<property name="Chain" value="${gdc:item=chain}" />
9
<property name="ChainID" value="${gdc:item=chainId}" />
10
<property name="Engine" value="${gdc:item=engine}" />
11
<property name="NodeName" value="${gdc:item=nodeName}" />
12
</target>
13
14
(...)
15
16
<logger name="*" minlevel="Info" writeTo="seq" />
Copied!
Last modified 1yr ago
Copy link