seems to work, needs tests and a lot of cleanup

This commit is contained in:
Pat Christopher
2021-07-12 20:28:10 -07:00
parent f880187573
commit ef3c344868
5 changed files with 124 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ const (
errStabilityLevel = "StabilityLevel should be passed STABLE, ALPHA or removed"
errStableSummary = "Stable summary metric is not supported"
errInvalidNewMetricCall = "Invalid new metric call, please ensure code compiles"
errNonStringAttribute = "Non string attribute it not supported"
errNonStringAttribute = "Non string attribute is not supported"
errBadVariableAttribute = "Metric attribute was not correctly set. Please use only global consts in same file"
errFieldNotSupported = "Field %s is not supported"
errBuckets = "Buckets should be set to list of floats, result from function call of prometheus.LinearBuckets or prometheus.ExponentialBuckets"