Update github.com/prometheus/common/model vendoring

This commit is contained in:
Julius Volz 2016-09-28 23:25:32 +02:00
parent 044ebce779
commit 50b5837a63
2 changed files with 18 additions and 2 deletions

View File

@ -22,6 +22,22 @@ import (
"strings"
)
var (
// ZeroSamplePair is the pseudo zero-value of SamplePair used to signal a
// non-existing sample pair. It is a SamplePair with timestamp Earliest and
// value 0.0. Note that the natural zero value of SamplePair has a timestamp
// of 0, which is possible to appear in a real SamplePair and thus not
// suitable to signal a non-existing SamplePair.
ZeroSamplePair = SamplePair{Timestamp: Earliest}
// ZeroSample is the pseudo zero-value of Sample used to signal a
// non-existing sample. It is a Sample with timestamp Earliest, value 0.0,
// and metric nil. Note that the natural zero value of Sample has a timestamp
// of 0, which is possible to appear in a real Sample and thus not suitable
// to signal a non-existing Sample.
ZeroSample = Sample{Timestamp: Earliest}
)
// A SampleValue is a representation of a value for a given sample at a given
// time.
type SampleValue float64

4
vendor/vendor.json vendored
View File

@ -205,8 +205,8 @@
{
"checksumSHA1": "Jx0GXl5hGnO25s3ryyvtdWHdCpw=",
"path": "github.com/prometheus/common/model",
"revision": "4402f4e5ea79ec15f3c574773b6a5198fbea215f",
"revisionTime": "2016-06-23T15:14:27Z"
"revision": "e35a2e33a50a7d756c7afdfaf609f93905a0c111",
"revisionTime": "2016-09-28T14:38:18+02:00"
},
{
"checksumSHA1": "CKVJRc1NREmfoAWQLHxqWQlvxo0=",