blob: 89cb6c3be2077cdce9405723365923aa59d44343 [file] [log] [blame]
load("//tools/bzl:plugin.bzl", "gerrit_plugin")
gerrit_plugin(
name = "metrics-reporter-prometheus",
srcs = glob(["src/main/java/**/*.java"]),
manifest_entries = [
"Gerrit-PluginName: metrics-reporter-prometheus",
"Gerrit-Module: com.googlesource.gerrit.plugins.metricsreporters.GerritPrometheusModule",
"Gerrit-HttpModule: com.googlesource.gerrit.plugins.metricsreporters.GerritPrometheusHttpModule",
],
resources = glob(["src/main/resources/**/*"]),
deps = [
"@prometheus_simpleclient//jar",
"@prometheus_simpleclient_common//jar",
"@prometheus_simpleclient_servlet//jar",
"@metrics_prometheus//jar",
],
)