Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (26 sloc) 1.2 KB
syntax = "proto3";
option go_package = "";
import "gogoproto/gogo.proto";
option (gogoproto.equal_all) = true;
import "";
import "";
PrometheusConfig represents a Kubernetes ConfigMap containing a
Prometheus config yaml stored with the key `prometheus.yml`.
SuperGloo uses conversion functions to convert from a configmap
to a typed Prometheus config.
message PrometheusConfig {
option ( = "pc";
option ( = "prometheusconfigs";
// Metadata contains the object metadata for this resource metadata = 101 [(gogoproto.nullable) = false];
// inline string containing the prometheus config
// json_name must refer to the data key in the configmap we expect
string prometheus = 1 [json_name="prometheus.yml"];
// inline string containing the alerts config. currently unused by supergloo
string alerts = 2;
// inline string containing the rules config. currently unused by supergloo
string rules = 3;
You can’t perform that action at this time.