Support for different architectures now added!
Bazel will automatically determine the required binary set for your host platform. Platform namespace (but not at all required to use) is available at
@io_bazel_rules_prometheus//prometheus/internal:prometheus_platform_{os}-{cpu_architecture}
example:
bazelisk build //... --platforms @io_bazel_rules_prometheus//prometheus/internal:prometheus_platform_linux-amd64
bazelisk build //... --platforms @io_bazel_rules_prometheus//prometheus/internal:prometheus_platform_darwin-amd64
release snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_prometheus",
sha256 = "c9980c638cba01015f31bc610788d5396b05b67c99c1f065fef17427cb8459fe",
strip_prefix = "rules_prometheus-0.0.4",
urls = ["https://github.com/5h4d0w4rt/rules_prometheus/archive/0.0.4.zip"],
)
load("@io_bazel_rules_prometheus//:deps.bzl", "prometheus_repositories")
prometheus_repositories()