Skip to content

Set language/version for telemetry data #337

@mefellows

Description

@mefellows

Currently, Pact Python uses the Ruby shared core which emits telemetry to GA for maintainers to understand feature usage and language support.

This currently is unaware of the host environment, meaning we can't get fidelity of metrics around Pact Python.

Please set the following environment variables prior to executing consumer/provider tests (e.g. somewhere early on in the execution chain):

  • PACT_EXECUTING_LANGUAGE to python
  • PACT_EXECUTING_LANGUAGE_VERSION to the version of running python environment (e.g. 3.11).

See example PR here: pact-foundation/pact-js-core#359

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:chorePart of regular code upkeep

    Type

    No type

    Projects

    Status

    ✅ Completed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions