@algernon@come-from.mad-scientist.club I don't have any of the num_shub_* metrics though, which is what's confusing me. Should have maybe specified that those are what I'm missing
@algernon@come-from.mad-scientist.club I don't have any of the num_shub_* metrics though, which is what's confusing me. Should have maybe specified that those are what I'm missing
@algernon@come-from.mad-scientist.club Could you point me to some resource for how to set up those block reason graphs for iocaine? There won't be much since I have barely any traffic, but would still be cool to have
@mstar If you're using Nam-Shub of Enki, this grafana dashboard is what I use.
If you're using the default script, there's no dashboard for that yet. I've been meaning to build one, but didn't get around to it yet.
@algernon@come-from.mad-scientist.club my problem isn't actually the dashboard, it's that I don't know how to get the data out of iocaine to Prometheus or Grafana in the first place. I only have iocaine_version, qmk_garbage_generated, qmk_requests and qmk_ruleset_hits as available metrics. My iocaine config is here: https://git.mstar.dev/mstar/infra/src/branch/main/iocaine-conf.kdl
@mstar Looking at your config, pointing Prometheus to scrape <iocaine's IP address>:43000/metrics should get the iocaine metrics into Prometheus, and through that, to Grafana, at which point you can start building graphs out of them.
Eg (in prometheus.yml):
scrape_configs:
- job_name: qmk
static_configs:
- labels: {}
targets:
- <iocaine's IP>:43000
For the ruleset graph, something like the following PromQL should work:
sum(irate(qmk_ruleset_hits[5min])) by (ruleset)
Throw that into a time series panel, and you're done!
@algernon@come-from.mad-scientist.club I don't have any of the num_shub_* metrics though, which is what's confusing me. Should have maybe specified that those are what I'm missing
@mstar Ah, I see!
Those are specific to Nam-Shub of Enki. The script used by iocaine is what generates the metrics, so nam_shub_* will only be available if you use NSoE. If you use the built-in script, the metrics will be qmk_*.
They're somewhat similarly shaped.
Hm. Nah, Tom & Jerry ain't a good play here. There's a bit of mutual respect between those two, and there's no such thing between me and the Crawlers.
Shit. I liked this display name. But! I have a new idea for the story! 'tis gonna be fun.
I have some absolutely cursed ideas. This story I'm about to write... this might end up better than the Tragedy of Byr, and that was one of my best stories.
@algernon for me its consistent these days. alibaba has fully blocked me i believe. see https://grafana.newinfra.tudbut.de/bombai