Merge pull request #158 from linux-on-ibm-z/cross-compile

Edited Makefile to add cross build support for s390x.

Adding External Metrics Provider
This commit is contained in:
Solly Ross 2019-01-31 13:23:24 -08:00 committed by John Delivuk
commit c2e176bb23
No known key found for this signature in database
GPG key ID: 8597474A0655625E
17 changed files with 1913 additions and 1 deletions

View file

@ -11,6 +11,7 @@ type MetricsDiscoveryConfig struct {
// will make only a single API call.
Rules []DiscoveryRule `yaml:"rules"`
ResourceRules *ResourceRules `yaml:"resourceRules,omitempty"`
ExternalRules []DiscoveryRule `yaml:"externalRules,omitempty"`
}
// DiscoveryRule describes a set of rules for transforming Prometheus metrics to/from