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
To integrate the TLS Grade Exporter into your Prometheus configuration,
configure it as a Blackbox Exporter. Add as many probe targets as
you want and direct Prometheus to your "real" TLS Grade Exporter endpoint
using relabeling:
- job_name: tls-grade-exportermetrics_path: /probescrape_interval: 1h# things do not change that oftenscrape_timeout: 3m# cryptographic analysis takes time!static_configs:
- targets:
- https://prometheus.io # 1st target to probe
- https://ping7.io # 2nd target to proberelabel_configs:
- source_labels: [__address__]target_label: __param_target
- source_labels: [__param_target]target_label: instance
- target_label: __address__replacement: tls-grade-exporter:9218 # The tls-grade exporter's real hostname:port.# collect blackbox exporter's operational metrics
- job_name: tls-grade-exporter-metricsstatic_configs:
- targets:
- tls-grade-exporter:9218
Make sure to set the scrape_timeout to at least 3m. Depending on compute
resources and numbers of targets to probe in parallel, increase compute resources
and/or scrape_timeout.
Building
This Prometheus exporter is built using Java. Have a Java 17 (or later)
installed and Maven to build
mvn clean verify
To build the Docker image, use your local Docker installation