Skip to content

Commit

Permalink
Removed unused local variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
j9sh264 committed Sep 23, 2024
1 parent 4727968 commit 9ae4561
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion weather_mv/loader_pipeline/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ class CreateTimeSeries(beam.DoFn):

def create_time_series(self, metric_name: str, metric_value: float) -> None:
"""Writes data to a Metrics TimeSeries."""
client = monitoring_v3.MetricServiceClient()
series = monitoring_v3.TimeSeries()
series.metric.type = f"custom.googleapis.com/{metric_name}"
series.metric.labels["description"] = metric_name
Expand Down

0 comments on commit 9ae4561

Please sign in to comment.