-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add necessary dimensions to metric initialization
- Loading branch information
1 parent
9686576
commit e530bb3
Showing
2 changed files
with
37 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package constants | ||
|
||
const ( | ||
// OperationCreate is a general name for create operation for centrals/clusters. | ||
OperationCreate = "create" | ||
|
||
// OperationDelete is a general name for delete operation for centrals/clusters. | ||
OperationDelete = "delete" | ||
) | ||
|
||
// Operations is a list of possible operations values. | ||
// It is used to initialize corresponding metrics with zero value. | ||
var Operations = []string{OperationCreate, OperationDelete} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters