message: Add optional null
diff: @@ -52,7 +52,7 @@ type Conditions = {
  export const mapMetrics = (response: PrometheusResponse): Metrics => {
  const values: Metrics = {};
  - for (let i = 0; i < response.data.result.length; i++) {
  + for (let i = 0; i < response?.data.result.length; i++) {
  const value = response.data?.result?.[i]?.value?.[1];
  if (_.isNil(value)) {
  return null;
  