Just looking at the /metrics output and I cannot see any field giving the calculated store cost. I see the values for store cost calculations.
@Shu Do you know what happened to the store cost in the /metrics ?
Just looking at the /metrics output and I cannot see any field giving the calculated store cost. I see the values for store cost calculations.
@Shu Do you know what happened to the store cost in the /metrics ?
for any one using NTracking
it appears the metrics might not be working correctly with the new payment contract.
currently NTracking it not showing fresh rewards since the contract was upgraded but they are there in the wallets.
so disregard what NTracking says if you are not seeing rewards coming in.
I’d like to try to use NTracking again and I’m sure I’ve installed it correctly by going through the options of :-
( ) 1 Install Docker Engine │
( ) 2 Setup Influxdb2 & Grafana │
( ) 3 Install Telegraf
But there is nothing available on port 3000.
I’m sure there should be a port showing for the Grafana container with ‘docker ps’:-
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
aa2d30e67f4e influxdb:2.7.5 "/entrypoint.sh infl…" 24 minutes ago Up 24 minutes (healthy) 0.0.0.0:8086->8086/tcp, [::]:8086->8086/tcp influxdb
10f10abf57c6 grafana/grafana-enterprise "/run.sh" 24 minutes ago Restarting (1) 37 seconds ago grafana
And it seems to be restarting every minute.
The port shows as:-
0.0.0.0:3000->3000/tcp, [::]:3000->3000/tcp
in ‘docker ps’ if it is run right after stopping and starting grafana but then disappears a few seconds later.
I’ll have a go at fixing it myself but I thought you should know @aatonnomicc
did you install option 1 docker engine as root user ?
No, and when I try to run NTracking.sh with sudo or by becomming root I get:-
Do not run as root
did you have any docker stuff installed before you tried to install NTracking ?
forgot I put that blocker in to it after people previously ran into problems when using root accounts
Not at all.
I found by reading the README that I’d not created the dirs:-
/var/lib/grafana
/etc/grafana
/var/log/grafana
But that doesn’t seem to be it either.
did the user account you used have sudo without password rights ?
possibly it was unable to create them.
I made the account be called ‘safe’ as that fit with what the user for Influx and I used to use that before ‘ant’.
Found the issue though: the script assumes the id of the user will be 1000 in this line:-
user: "1000:1000"
But the id of the account I’m using is 1002. Changed it and it’s happy now!
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
21ffe401f1b5 grafana/grafana-enterprise "/run.sh" 2 minutes ago Up 2 minutes 0.0.0.0:3000->3000/tcp, [::]:3000->3000/tcp grafana
56e9d496f922 influxdb:2.7.5 "/entrypoint.sh infl…" 2 minutes ago Up 2 minutes (healthy) 0.0.0.0:8086->8086/tcp, [::]:8086->8086/tcp influxdb
And I can access Grafana.
Happy now!
Thanks for the pointers.
nice one glad your up and running