-
Notifications
You must be signed in to change notification settings - Fork 107
Conversation
713883e
to
196c685
Compare
2d1aba3
to
7943d11
Compare
1d1b455
to
306f10c
Compare
idx/memory/tag_query.go
Outdated
NOT_MATCH // !=~ | ||
PREFIX // ^= exact prefix, not regex. non-standard, required for auto complete of tag values | ||
PREFIX_TAG // __tag^= exact prefix with tag. non-standard, required for auto complete of tag keys | ||
OP_NONE match = iota |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please:
- follow Go naming conventions. see https://stackoverflow.com/a/22688926/227168
- do renames and cleanups separate from your logical changes. ideally as a commit preceeding the rest, or even as a separate PR (if you order your commits properly, it's always easy to make separate branches and PR's)
ed0af91
to
10f8ae4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0 issues found before hitting an error.
Error: Sorry, an error occurred while processing your request. Please try again.
c1911b9
to
70c3a4f
Compare
5087a2f
to
bce27be
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0 issues found before hitting an error.
Error: Sorry, an error occurred while processing your request. Please try again.
19c75fb
to
d715dfd
Compare
@@ -300,7 +300,7 @@ func parseDuration(s string) (time.Duration, error) { | |||
func SeriesToSeriesSet(out []models.Series) (*models.PrometheusSeriesSet, error) { | |||
series := []storage.Series{} | |||
for _, metric := range out { | |||
series = append(series, models.NewPrometheusSeries(buildTagSet(metric.Target), dataPointsToPrometheusSamplePairs(metric.Datapoints))) | |||
series = append(series, models.NewPrometheusSeries(metric.Tags, dataPointsToPrometheusSamplePairs(metric.Datapoints))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prometheus expects a "name" tag. But metric.Tags uses a "name" label.
d77aa4b
to
34c7312
Compare
8bac270
to
d572c16
Compare
Closing this because I'm submitting it piece-by-piece instead of creating one gigantic PR, as described here: #660 (comment) |
that's just a first prototype after some internal discussions. related to #660