- 
                Notifications
    You must be signed in to change notification settings 
- Fork 554
feat: Add timer/counter telemetry for CI process #3081
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
# Conflicts: # pkg/pipeline/CdConfig.go # pkg/pipeline/WorkflowDagExecutor.go
        
          
                util/helper.go
              
                Outdated
          
        
      | } | ||
|  | ||
| type CIMetrics struct { | ||
| CacheDownDuration float64 `json:"CacheDownDuration"` | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use proper camelCase here
        
          
                util/helper.go
              
                Outdated
          
        
      | CacheUpDuration float64 `json:"CacheUpDuration"` | ||
| TotalDuration float64 `json:"TotalDuration"` | ||
| CacheDownStartTime time.Time `json:"CacheDownStartTime"` | ||
| PreCiStartTime time.Time `json:"pre_ci_start"` | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here too
| Kudos, SonarCloud Quality Gate passed!     
 
 | 








Description
Show the timer/counter metrics for kube-link api using Prometheus.
Fixes #https://dev.azure.com/DevtronLabs/Devtron/_workitems/edit/2216
Github issue: ##3022
How Has This Been Tested?
Checklist:
Does this PR introduce a user-facing change?