File tree Expand file tree Collapse file tree 5 files changed +76
-0
lines changed
bazel-registry/modules/prometheus-metrics-model Expand file tree Collapse file tree 5 files changed +76
-0
lines changed Original file line number Diff line number Diff line change 1+ module (
2+ name = "prometheus-metrics-model" ,
3+ version = "0.6.2.envoy" ,
4+ compatibility_level = 1 ,
5+ repo_name = "prometheus_metrics_model" ,
6+ )
7+
8+ bazel_dep (name = "protobuf" , version = "33.4.envoy" )
Original file line number Diff line number Diff line change 1+ load ("@protobuf//bazel:proto_library.bzl" , "proto_library" )
2+ load ("@protobuf//bazel:cc_proto_library.bzl" , "cc_proto_library" )
3+
4+ proto_library (
5+ name = "client_model" ,
6+ srcs = [
7+ "io/prometheus/client/metrics.proto" ,
8+ ],
9+ strip_import_prefix = "" ,
10+ deps = [
11+ "@protobuf//:timestamp_proto" ,
12+ ],
13+ visibility = ["//visibility:public" ],
14+ )
15+
16+ cc_proto_library (
17+ name = "client_model_cc_proto" ,
18+ deps = [":client_model" ],
19+ visibility = ["//visibility:public" ],
20+ )
21+
22+ # Backward compatibility aliases
23+ alias (
24+ name = "client_model_proto" ,
25+ actual = ":client_model" ,
26+ visibility = ["//visibility:public" ],
27+ )
28+
29+ alias (
30+ name = "prometheus-metrics-model" ,
31+ actual = ":client_model_cc_proto" ,
32+ visibility = ["//visibility:public" ],
33+ )
Original file line number Diff line number Diff line change 1+ matrix :
2+ platform :
3+ - debian11
4+ - ubuntu2404
5+ - macos
6+ bazel :
7+ - 8.x
8+
9+ tasks :
10+ verify_targets :
11+ name : Verify build targets
12+ platform : ${{ platform }}
13+ bazel : ${{ bazel }}
14+ build_targets :
15+ - " @prometheus-metrics-model//:client_model"
16+ - " @prometheus-metrics-model//:client_model_cc_proto"
Original file line number Diff line number Diff line change 1+ {
2+ "url" : " https://github.com/prometheus/client_model/archive/v0.6.2.tar.gz" ,
3+ "integrity" : " sha256-R8XqeUn2jn97NENQxZtr0x7rkh8O7Gw6Vm4nzxlRRww=" ,
4+ "strip_prefix" : " client_model-0.6.2" ,
5+ "overlay" : {
6+ "BUILD.bazel" : " sha256-dQjxvJYJ9Es5e41iIrXaW9qy5R/OVcvurTfwd/E/hlQ="
7+ }
8+ }
Original file line number Diff line number Diff line change 1+ {
2+ "homepage" : " https://github.com/prometheus/client_model" ,
3+ "maintainers" : [],
4+ "repository" : [
5+ " github:prometheus/client_model"
6+ ],
7+ "versions" : [
8+ " 0.6.2.envoy"
9+ ],
10+ "yanked_versions" : {}
11+ }
You can’t perform that action at this time.
0 commit comments