...
1load("@io_bazel_rules_go//go:def.bzl", "go_library")
2
3go_library(
4 name = "metrics",
5 srcs = [
6 "get_billable_from_github.go",
7 "get_runners_from_github.go",
8 "get_runners_organization_from_github.go",
9 "get_workflow_runs_from_github.go",
10 "metrics.go",
11 "workflows_cache.go",
12 ],
13 importpath = "edge-infra.dev/pkg/f8n/devinfra/github-actions-exporter/metrics",
14 visibility = ["//visibility:public"],
15 deps = [
16 "//pkg/f8n/devinfra/github-client",
17 "@com_github_google_go_github_v47//github",
18 "@com_github_prometheus_client_golang//prometheus",
19 "@com_github_prometheus_client_golang//prometheus/promauto",
20 ],
21)
View as plain text