@@ -22,7 +22,7 @@ type commandsCountLabels struct {
2222 ProductID string `json:"product_id"`
2323 ProductVersion string `json:"product_version"`
2424 FeatureID string `json:"feature_id"`
25- OIDCUsed string `json:"oidc_used "`
25+ ProviderType string `json:"provider_type "`
2626 JobID string `json:"job_id"`
2727 RunID string `json:"run_id"`
2828 GitRepo string `json:"git_repo"`
@@ -43,7 +43,7 @@ func NewCommandsCountMetric(commandName string) services.VisibilityMetric {
4343 ProductID : coreutils .GetCliUserAgentName (),
4444 ProductVersion : coreutils .GetCliUserAgentVersion (),
4545 FeatureID : commandName ,
46- OIDCUsed : os .Getenv (coreutils .OidcProviderType ),
46+ ProviderType : os .Getenv (coreutils .OidcProviderType ),
4747 JobID : os .Getenv (coreutils .CIJobID ),
4848 RunID : os .Getenv (coreutils .CIRunID ),
4949 GitRepo : os .Getenv (coreutils .SourceCodeRepository ),
@@ -63,10 +63,10 @@ func NewCommandsCountMetricWithEnhancedData(commandName string, metricsData *Met
6363 ProductID : coreutils .GetCliUserAgentName (),
6464 ProductVersion : coreutils .GetCliUserAgentVersion (),
6565 FeatureID : commandName ,
66- OIDCUsed : os .Getenv ("JFROG_CLI_USAGE_OIDC_USED" ),
67- JobID : os .Getenv ("JFROG_CLI_USAGE_JOB_ID" ),
68- RunID : os .Getenv ("JFROG_CLI_USAGE_RUN_ID" ),
69- GitRepo : os .Getenv ("JFROG_CLI_USAGE_GIT_REPO" ),
66+ ProviderType : os .Getenv (coreutils . OidcProviderType ),
67+ JobID : os .Getenv (coreutils . CIJobID ),
68+ RunID : os .Getenv (coreutils . CIRunID ),
69+ GitRepo : os .Getenv (coreutils . SourceCodeRepository ),
7070 GhTokenForCodeScanningAlertsProvided : os .Getenv ("JFROG_CLI_USAGE_GH_TOKEN_FOR_CODE_SCANNING_ALERTS_PROVIDED" ),
7171 Flags : "" ,
7272 Platform : "" ,
0 commit comments