Skip to content

Commit

Permalink
feat: capture pod phase on airbyte chart failure (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
abuchanan-airbyte authored Sep 16, 2024
1 parent 1106fb9 commit 4ebf0f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/cmd/local/local/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,8 @@ func (c *Command) diagnoseAirbyteChartFailure(ctx context.Context, chartErr erro

errors := []string{}
for _, pod := range podList.Items {
c.tel.Attr(fmt.Sprintf("pod-%s-phase", pod.Name), string(pod.Status.Phase))

if pod.Status.Phase == corev1.PodFailed {
msg := "unknown"

Expand Down

0 comments on commit 4ebf0f8

Please sign in to comment.