PROMETHEUS-MYSQLROUTER-EXPORTER(1)

πŸ“¦ version 6.0.1, in ubuntu resolute, ubuntu stonking

πŸŽ€ NAME πŸŽ€

ok so bestie, this is prometheus-mysqlrouter-exporter β€” the manual page for prometheus-mysqlrouter-exporter version 6.0.1. she's a Prometheus exporter. she's iconic. that's the vibe. πŸ’…


✨ DESCRIPTION ✨

🌸 Usage

like, the whole entire way you run her:

prometheus-mysqlrouter-exporter [OPTIONS]

no positional args, no drama, just options. periodt. πŸ’–


πŸŽ€ Application Options

these are the actual knobs and levers, bestie. every single one. buckle up. πŸ¦‹

  • --url= β€” the MySQL Router Rest API URL, fr fr. 🌐 you can also set it through the env var $MYSQLROUTER_EXPORTER_URL if that's more your thing.
  • --user= β€” the Username for the REST API. πŸ”‘ env var twin: $MYSQLROUTER_EXPORTER_USER.
  • --pass= β€” the Password for the REST API. 🀫 env var twin: $MYSQLROUTER_EXPORTER_PASS.
  • -p, --listen-port= β€” the port she listens on. default is 9152. 🎧 that's the one.
  • --service-name= β€” the Service name for MySQL Router. 🏷️ env var twin: $MYSQLROUTER_EXPORTER_SERVICE_NAME.
  • --tls-ca-cert-path= β€” the TLS CA cacert path. πŸ“œ env var twin: $MYSQLROUTER_TLS_CACERT_PATH.
  • --tls-cert-path= β€” the TLS cert path. πŸͺͺ env var twin: $MYSQLROUTER_TLS_CERT_PATH.
  • --tls-key-path= β€” the TLS key path. πŸ—οΈ env var twin: $MYSQLROUTER_TLS_KEY_PATH.
  • -k, --skip-tls-verify β€” Skip TLS Verification. 😬 yeah, that's exactly what it sounds like. she just… doesn't check. iykyk.
  • --collect-interval= β€” the Collect interval time in sec. default is 2. ⏱️
  • --collect.metadata.status β€” Collect metrics from metadata status. ⚠️ heads up bestie: CPU usage will increase.
  • --collect.route.connections.byte_from_server β€” Collect metrics from route connections. ⚠️ also: CPU usage will increase.
  • --collect.route.connections.byte_to_server β€” Collect metrics from route connections. ⚠️ again: CPU usage will increase.
  • --collect.route.connections.time_started β€” Collect metrics from route connections. ⚠️ and yep: CPU usage will increase.
  • --collect.route.connections.time_connected_to_server β€” Collect metrics from route connections. ⚠️ CPU usage will increase.
  • --collect.route.connections.time_last_sent_to_server β€” Collect metrics from route connections. ⚠️ CPU usage will increase.
  • --collect.route.connections.time_received_from_server β€” Collect metrics from route connections. ⚠️ CPU usage will increase.
  • -v, --version β€” Show version. πŸ‘‘ simple. iconic. no notes.
okay so real talk, all those --collect.* flags are the "make my CPU sweat" flags. every single one of them literally says the same warning: CPU usage will increase. she's not being subtle about it. πŸ”₯

🫢 Help Options

  • -h, --help β€” Show this help message. πŸ₯Ί the girl who tells you where everything is.

πŸ’œ SEE ALSO

the full documentation for prometheus-mysqlrouter-exporter is maintained as a Texinfo manual, bestie. πŸ“– so if the info program and prometheus-mysqlrouter-exporter are both properly installed at your site, this command:

info prometheus-mysqlrouter-exporter

should give you access to the complete manual. slay. go read her. 🌈⭐


and that's the whole page, angel πŸ’– this was the manual for prometheus-mysqlrouter-exporter, source/version 6.0.1, dated August 2025. mwah, take care of her πŸŽ€βœ¨

πŸ“¦ where this page comes from