github.com/blend/go-sdk@v1.20220411.3/stats/constants.go (about) 1 /* 2 3 Copyright (c) 2022 - Present. Blend Labs, Inc. All rights reserved 4 Use of this source code is governed by a MIT license that can be found in the LICENSE file. 5 6 */ 7 8 package stats 9 10 import ( 11 "github.com/blend/go-sdk/logger" 12 ) 13 14 // MetricNames are names we use when sending data to the collectors. 15 const ( 16 MetricNameError string = string(logger.Error) 17 ) 18 19 // Tag names are names for tags, either on metrics or traces. 20 const ( 21 TagClass string = "class" 22 TagContainer string = "container" 23 TagEnv string = "env" 24 TagError string = "error" 25 TagHostname string = "hostname" 26 TagJob string = "job" 27 TagService string = "service" 28 TagSeverity string = "severity" 29 TagVersion string = "version" 30 ) 31 32 // Specialized / default values 33 const ( 34 FilterNameSanitization = "sanitization" 35 ListenerNameStats string = "stats" 36 )