prusa-exporter

by thelande

Helm chartv0.3.0App 2.0.0Verified publisher

Prometheus exporter for Prusa3D printers - supports Prusa Link API and Syslog metrics as well as logs from printer.

About this chart

prusa-exporter

Prometheus exporter for Prusa3D printers - supports Prusa Link API and Syslog metrics as well as logs from printer.

Homepage: https://prusa3d.com/

Maintainers

NameEmailUrl
Tom Helanderhttps://github.com/thelande/charts

Source Code

Requirements

RepositoryNameVersion
https://bjw-s-labs.github.io/helm-chartscommon4.4.x

Values

KeyTypeDefaultDescription
metrics.enabledboolfalseEnable the service monitor
metrics.prusalink.intervalstring"60s"
metrics.udp.intervalstring"1s"
prusa-exporter.enabledUDPMetricsbooltrueEnable automatic enabling of UDP metrics. Note: When enabled, after starting the exporter your printer will ask to "print" a file named "enable_udp_metrics.gcode". Simply start the "print" to proceed.
prusa-exporter.image.repositorystring"docker.io/pubeldev/prusa_exporter"
prusa-exporter.lokiPushURLstring""URL of your Loki instance. Used to expose the PNG image of the print. (optional)
prusa-exporter.printerslist[]List of printers to scrape.
prusa-exporter.printersSecretstring""Existing secret containing the above printers configuration.
prusa-exporter.prusalinkScrapeTimeoutint5
prusa-exporter.resourcesobject{}
prusa-exporter.udpIPOverridestring""Define the IP of the system where the exporter is running. This ensures the correct metrics host is used by the exporter.
prusa-exporter.udpServiceLoadBalancerIPstring""Preset IP address for the UDP service load balancer.

Autogenerated from chart metadata using helm-docs v1.14.2

Deploy prusa-exporter with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has prusa-exporter on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartprusa-exporter is pinned at v0.3.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply