Skip to content

Allowing customization of telemetry through user agent #11506

Closed
@liu-ziyang

Description

@liu-ziyang

What's the problem this feature will solve?

We are developing a desktop application that uses pip to install plugins, and we want to understand the installation metrics of how people are using the application. To do that we want to customize the telemetry that pip sends, which is later aggregated by the linehaul project to BigQuery.

Describe the solution you'd like

Having an optional flag or argument that allows overriding of the telemetry user agent that pip used to send installation reports

Alternative Solutions

We attempted to use the PIP_USER_AGENT_USER_DATA. However, the user_data is currently ignored by the linehaul parser and never made to the telemetry dataset

Additional context

Original discussion on linehaul-cloud-function:
pypi/linehaul-cloud-function#94

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions