-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: migrate aggregator plugins to new sample config format (#10912)
- Loading branch information
1 parent
e0599f4
commit 15dd24f
Showing
25 changed files
with
80 additions
and
273 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
//go:generate go run ../../../tools/generate_plugindata/main.go | ||
//go:generate go run ../../../tools/generate_plugindata/main.go --clean | ||
// DON'T EDIT; This file is used as a template by tools/generate_plugindata | ||
package basicstats | ||
|
||
func (*BasicStats) SampleConfig() string { | ||
return `{{ .SampleConfig }}` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
//go:generate go run ../../../tools/generate_plugindata/main.go | ||
//go:generate go run ../../../tools/generate_plugindata/main.go --clean | ||
// DON'T EDIT; This file is used as a template by tools/generate_plugindata | ||
package derivative | ||
|
||
func (d *Derivative) SampleConfig() string { | ||
return `{{ .SampleConfig }}` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
//go:generate go run ../../../tools/generate_plugindata/main.go | ||
//go:generate go run ../../../tools/generate_plugindata/main.go --clean | ||
// DON'T EDIT; This file is used as a template by tools/generate_plugindata | ||
package final | ||
|
||
func (m *Final) SampleConfig() string { | ||
return `{{ .SampleConfig }}` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
//go:generate go run ../../../tools/generate_plugindata/main.go | ||
//go:generate go run ../../../tools/generate_plugindata/main.go --clean | ||
// DON'T EDIT; This file is used as a template by tools/generate_plugindata | ||
package histogram | ||
|
||
func (h *HistogramAggregator) SampleConfig() string { | ||
return `{{ .SampleConfig }}` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
//go:generate go run ../../../tools/generate_plugindata/main.go | ||
//go:generate go run ../../../tools/generate_plugindata/main.go --clean | ||
// DON'T EDIT; This file is used as a template by tools/generate_plugindata | ||
package merge | ||
|
||
func (a *Merge) SampleConfig() string { | ||
return `{{ .SampleConfig }}` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package seriesgrouper | ||
package merge | ||
|
||
import ( | ||
"testing" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
//go:generate go run ../../../tools/generate_plugindata/main.go | ||
//go:generate go run ../../../tools/generate_plugindata/main.go --clean | ||
// DON'T EDIT; This file is used as a template by tools/generate_plugindata | ||
package minmax | ||
|
||
func (m *MinMax) SampleConfig() string { | ||
return `{{ .SampleConfig }}` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
//go:generate go run ../../../tools/generate_plugindata/main.go | ||
//go:generate go run ../../../tools/generate_plugindata/main.go --clean | ||
// DON'T EDIT; This file is used as a template by tools/generate_plugindata | ||
package quantile | ||
|
||
func (q *Quantile) SampleConfig() string { | ||
return `{{ .SampleConfig }}` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.