Skip to content

Commit

Permalink
chore: add code location
Browse files Browse the repository at this point in the history
  • Loading branch information
JasperHG90 committed Mar 24, 2024
1 parent ae01d43 commit ba9a44c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def post_gcp_metrics(context: SensorEvaluationContext, gcp_metrics: GcpMetricsRe
"run_id": run_record.dagster_run.run_id,
"partition_key": run_record.dagster_run.tags.get("dagster/partition", "N/A"),
"environment": environment,
"location": run_record.dagster_run.external_job_origin.location_name,
**parse_run_trigger(run_record.dagster_run.tags),
}
gcp_metrics.post_time_series(
Expand Down

0 comments on commit ba9a44c

Please sign in to comment.