2021-05-21 09:47:49 +03:00
|
|
|
// Copyright 2020 Security Scorecard Authors
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License.
|
|
|
|
// You may obtain a copy of the License at
|
|
|
|
//
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
|
|
|
|
package stats
|
|
|
|
|
|
|
|
import "go.opencensus.io/tag"
|
|
|
|
|
|
|
|
var (
|
2021-05-24 21:34:33 +03:00
|
|
|
// CheckName is the tag key for the check name.
|
|
|
|
CheckName = tag.MustNewKey("checkName")
|
2021-06-22 01:38:50 +03:00
|
|
|
// ErrorName is the tag key for errors.
|
|
|
|
ErrorName = tag.MustNewKey("errorName")
|
2021-06-10 00:18:40 +03:00
|
|
|
// Repo is the tag key for the repo name.
|
|
|
|
Repo = tag.MustNewKey("repo")
|
2021-05-24 21:34:33 +03:00
|
|
|
// RequestTag is the tag key for the request type.
|
2021-05-21 23:10:27 +03:00
|
|
|
RequestTag = tag.MustNewKey("requestTag")
|
2021-05-21 09:47:49 +03:00
|
|
|
)
|