Skip to content

Commit

Permalink
store metric by pod-uid and container-name
Browse files Browse the repository at this point in the history
  • Loading branch information
waynepeking348 committed Aug 1, 2023
1 parent 44e4fd5 commit ae9d7b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/metaserver/agent/metric/malachite/client/client_pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (c *MalachiteClient) GetPodStats(ctx context.Context, podUID string) (map[s
general.Errorf("GetPodStats err %v", err)
continue
}
containersStats[containerID] = stats
containersStats[containerStatus.Name] = stats
}
return containersStats, nil
}
Expand Down

0 comments on commit ae9d7b6

Please sign in to comment.