Skip to content

Commit

Permalink
feat(prometheus) Update shard key column to app
Browse files Browse the repository at this point in the history
  • Loading branch information
jackson_paul committed Sep 5, 2018
1 parent 211237f commit 571c789
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import filodb.core.metadata.{Dataset, DatasetOptions}
object FormatConversion {
// An official Prometheus-format Dataset object with a single timestamp and value
val dataset = Dataset("prometheus", Seq("tags:map"), Seq("timestamp:long", "value:double"))
.copy(options = DatasetOptions(Seq("__name__", "job"),
.copy(options = DatasetOptions(Seq("__name__", "app"),
"__name__", "value", Map("__name__" -> Seq("_bucket", "_count", "_sum")), Seq("le")))

/**
Expand Down

0 comments on commit 571c789

Please sign in to comment.