Skip to content

Generate and propagate simulation telemetry envelopes for Modal simulation requests #3404

@anth-volk

Description

@anth-volk

This issue tracks the first split of the Grafana observability rollout in policyengine-api.

Scope:

  • generate a _telemetry envelope when submitting simulation jobs to the Modal simulation API
  • include run_id, process_id, requested timestamp, config hash, geography classification, and traceparent when available
  • preserve the existing _metadata payload while adding _telemetry
  • propagate run_id through the Modal client response object and submission logs
  • add targeted fixtures and unit coverage for the new telemetry payload behavior

This PR should stay intentionally narrow: no OTLP export, no stage metrics, and no new internal observability API yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions