-
Notifications
You must be signed in to change notification settings - Fork 153
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
Add application related labels to deployment_status metric #4520
Add application related labels to deployment_status metric #4520
Conversation
4e7970c
to
1868cb0
Compare
Fixes: pipe-cd#4475 Signed-off-by: Naoki Kanatani <[email protected]>
1868cb0
to
6177354
Compare
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## master #4520 +/- ##
=======================================
Coverage 30.03% 30.03%
=======================================
Files 220 220
Lines 25761 25761
=======================================
Hits 7737 7737
Misses 17379 17379
Partials 645 645 ☔ View full report in Codecov by Sentry. |
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.
Thank you soooo much 🎉
@@ -189,7 +189,7 @@ func (p *planner) Run(ctx context.Context) error { | |||
} | |||
|
|||
defer func() { | |||
controllermetrics.UpdateDeploymentStatus(p.deployment.Id, p.doneDeploymentStatus, p.deployment.Kind, p.deployment.PlatformProvider) | |||
controllermetrics.UpdateDeploymentStatus(p.deployment, p.deployment.Status) |
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.
@kentakozuka should it p.doneDeploymentStatus instead? 🤔
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.
Thanks for pointing out!
Let me fix it 👍
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.
Ah, sorry... 😢
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.
No prob. It was my fault too.
Fixes: #4475 Signed-off-by: Naoki Kanatani <[email protected]>
* Release v0.44.1 (#4448) --------- Signed-off-by: khanhtc1202 <[email protected]> * Release v0.44.2 (#4486) * Release v0.44.2 * Add release blog --------- Signed-off-by: Kenta Kozuka <[email protected]> * Add application related labels to deployment_status metric (#4520) Fixes: #4475 * Fix deployment status use an incorrect status (#4521) * Disable terraform drift detection (#4522) * Add driftDetectionEnabled to terraform provider config * Fix docs and comments --------- Signed-off-by: Kenta Kozuka <[email protected]> Signed-off-by: Naoki Kanatani <[email protected]> --------- Signed-off-by: khanhtc1202 <[email protected]> Signed-off-by: Kenta Kozuka <[email protected]> Signed-off-by: Naoki Kanatani <[email protected]>
What this PR does / why we need it:
Added application_id, application_name labels to deployment_status metric.
Which issue(s) this PR fixes:
Fixes: #4475
Does this PR introduce a user-facing change?: