github.com/blend/go-sdk@v1.20220411.3/stats/httpstats/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 httpstats 9 10 import "github.com/blend/go-sdk/webutil" 11 12 // HTTP stats constants 13 const ( 14 MetricNameHTTPRequest string = string(webutil.FlagHTTPRequest) 15 MetricNameHTTPRequestSize string = MetricNameHTTPRequest + ".size" 16 MetricNameHTTPRequestElapsed string = MetricNameHTTPRequest + ".elapsed" 17 MetricNameHTTPRequestElapsedLast string = MetricNameHTTPRequestElapsed + ".last" 18 19 TagRoute string = "route" 20 TagProto string = "proto" 21 TagMethod string = "method" 22 TagStatus string = "status" 23 24 RouteNotFound string = "not_found" 25 )