BSD Ports

net-mgmt/mysqld_exporter 0.17.2_14 FreeBSD

Prometheus exporter for MySQL server metrics

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
d81b7ba3c3
License
APACHE20
Categories
net-mgmt
Package size
3945.8 KiB, 12889.4 KiB installed

Description

mysqld_exporter is a Prometheus exporter for MySQL server metrics.

This exporter also supports Prometheus' multi-target scraping pattern, which enables a single running instance of the exporter to collect metrics from multiple MySQL targets. For more information see:

https://github.com/prometheus/mysqld_exporter

In the other systems

The newest version among them is 0.17.2, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
FreeBSDnet-mgmt/mysqld_exporter0.17.2_14 newestnone known-[email protected]2026-10-20
NetBSDdatabases/mysqld_exporter by name0.15.1nb27none known-[email protected]2026-10-20
DragonFlynet-mgmt/mysqld_exporter0.12.1_24none known-[email protected]-
HardenedBSDnet-mgmt/mysqld_exporter0.17.2_12 newestno data-[email protected]-
GhostBSDnet-mgmt/mysqld_exporter0.17.2_12 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install mysqld_exporter

From the ports tree:

cd /usr/ports/net-mgmt/mysqld_exporter/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	mysqld_exporter>0:net-mgmt/mysqld_exporter

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.17.2_130.17.2_14-0.17.2_10.17.2_13
FreeBSD:14:quarterly0.17.2_130.17.2_14n/a0.17.20.17.2_13
FreeBSD:15:latest0.17.2_130.17.2_14n/a0.17.2_10.17.2_1
FreeBSD:15:quarterly0.17.2_130.17.2_14n/an/an/a
FreeBSD:16:latest0.17.2_120.17.2_14n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependency graph

Ports that need it on the left, what it needs to run on the right (to build, as it needs nothing to run); at most 8 of each. "Dependencies" below lists them all.

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
go:modules
Service scripts
mysqld_exporter

Message after installing

To start mysqld_exporter, create a configuration file at:

  /usr/local/etc/my.cnf

with default MySQL credentials, such as:

  [client]
  host = localhost
  port = 3306
  user = mysqld_exporter
  password = foo123

then run "sysrc mysqld_exporter_enable=yes" to enable.

For more configuration options, visit:

  https://github.com/prometheus/mysqld_exporter

Files

distinfo 2
FileSizeSHA256
go/net-mgmt_mysqld_exporter/mysqld_exporter-v0.17.2/v0.17.2.mod1737c3ba33fc11f23aab46bfb72efc4ac968c8ce8111a24922370d7ff95f20fd9a6f
go/net-mgmt_mysqld_exporter/mysqld_exporter-v0.17.2/v0.17.2.zip191673798f38caf66342ac72a1b0984633ede719d9b8b35a8a480c8250e2cf37828480

Commit history 6

DateCommitCreditsLog message
d81b7ba3c3 Dag-Erling Smørgrav various: Bump Go ports for Go 1.26.10 / 1.27.3
031fc6bfbf Dag-Erling Smørgrav various: Bump Go ports
dd0905142a Adam Weinberger many: Bump go ports for 1.26.8 and 1.27.1
4867821cd6 Dag-Erling Smørgrav various: Bump go ports for go-1.25.14 / 1.26.7
6d39dcf04e Dag-Erling Smørgrav various: Bump go ports for go-1.25.13 / 1.26.6

The latest 5 of 6 in the history this site was built from.