You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
curl http://127.0.0.1:9031
There are no connected nodes yet.
I restart my node, I make sure my node starts with
--tracer-socket-path-connect /tmp/forwarder.sock
But lsof and netstat -an tells me only the tracer process is binding to that socket.
# look at the last few lines of a service
journalctl -xeu <service name that you got from status above>
# keep following a service
journalctl -e -f -u <service name that you got from status above>
It acknowledges the existence of the /tmp/forwarder.sock when I stop/start the node.
It does not however acknowledge connecting, and the curl still shows no connections.
I start the ssh session to attach to the socket from the bp.
Connection on bp side looks fine, but cardano node also does not connect to trace via remote socket.
U suspect tracing is not enabled in the node itself, lots of things in config makes me think it should be:
Right? But wondering if there is master config for this not set?
Nothing obvious in the config, no luck in google or LLM,
Need a good code spelunker, I should ask Rob for some pointers on where to look
Good morning, goal today is to get relay node to give me some trace data.
Way to profile install a nixpkg
nix profile install nixpkgs#socat
#+end
- SAD PANDA! There was always a prometheus section in the /cardano-node/configuration/cardano/testnet-config.json
"hasPrometheus": [
"127.0.0.1",
12798
],
- Sooo we simply add a scrape config on our monitor prometheus, inside the configuration.nix
- TODO: Make this more modular, define this above in exporter
scrapeConfigs = [
{
job_name = "chrysalis";
static_configs = [{
targets = [
"127.0.0.1:${toString config.services.prometheus.exporters.node.port}""100.84.19.134:${toString config.services.prometheus.exporters.node.port}"
++ "100.84.19.134:12798""100.113.176.70:${toString config.services.prometheus.exporters.node.port}"
++ "100.113.176.70:12798"
];
}];
- And from there it was a quick step to stand up https://github.com/sanskys/SNSKY/blob/main/SNSKY_Dashboard_v2.json which is part of this tutorial https://github.com/input-output-hk/cardano-node/blob/master/doc/logging-monitoring/grafana.md
- I also have the node exporter https://grafana.com/grafana/dashboards/854-simple-prometheus-node-exporter/
*** Next step
- I need to add the cardano metrics_exporter and dashboard.
- For future I would also still learn more how to get to the trace data, I think it is writing to the journalctl log but I would like to consume this in prometheus.
- Research additional cardano metrics sources we can use.
- Research doing this in datadog
- Still need to stand up https://developers.cardano.org/docs/operate-a-stake-pool/grafana-dashboard-tutorial/#5-add-data-from-cexplorer-to-the-dashboard prometheus gauge so I can add the dashboard.
- We need actual alerting to send out from this, we can hook this into pagerduty or other SAAS platform, just need to decide what we are doing with it