chore: format with golines
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I11a2f3273abf08c8cf02e0c335e26d826a6a6964
This commit is contained in:
parent
214c992494
commit
bf8390a916
5 changed files with 54 additions and 11 deletions
|
|
@ -27,7 +27,11 @@ type MetricsAggregator struct {
|
|||
}
|
||||
|
||||
// Creates a new metrics aggregator with dynamic labels based on config
|
||||
func NewMetricsAggregator(pathRegistry *PathRegistry, eventRegistry *CustomEventRegistry, cfg config.Config) *MetricsAggregator {
|
||||
func NewMetricsAggregator(
|
||||
pathRegistry *PathRegistry,
|
||||
eventRegistry *CustomEventRegistry,
|
||||
cfg config.Config,
|
||||
) *MetricsAggregator {
|
||||
// Build label names based on what's enabled in config
|
||||
labels := []string{"path"} // path is always included
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue