github.com/blend/go-sdk@v1.20240719.1/stats/r2stats/constants.go (about) 1 /* 2 3 Copyright (c) 2024 - 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 r2stats 9 10 import "github.com/blend/go-sdk/r2" 11 12 // HTTP stats constants 13 const ( 14 MetricNameHTTPClientRequest string = string(r2.Flag) 15 MetricNameHTTPClientRequestElapsed string = MetricNameHTTPClientRequest + ".elapsed" 16 MetricNameHTTPClientRequestElapsedLast string = MetricNameHTTPClientRequestElapsed + ".last" 17 18 TagHostname string = "url_hostname" 19 TagTarget string = "target" 20 TagMethod string = "method" 21 TagStatus string = "status" 22 )