Categorygithub.com/bitrise-io/bitrise-step-analytics
modulepackage
0.0.0-20230228150911-6c69646b2e3a
Repository: https://github.com/bitrise-io/bitrise-step-analytics.git
Documentation: pkg.go.dev

# README

Bitrise Step Analytics

Endpoints

/track

This endpoint handles POST requests with json body with the following structure.

{
  "id": "67688665-c71a-4dc4-abef-c577adb1fb83",
  "timestamp": 1648078534000000,
  "event_name": "step_started",
  "properties": {
    "first_property": "first_value",
    "bool_property": false,
    ...
  }
}

The service flattens the json and sends it to a PubSub topic defined by the PUBSUB_PROJECT and PUBSUB_TOPIC environment variables when the service starts. Google Cloud service account's json (which has right to publish to PubSub) has to be provided via the PUBSUB_CREDENTIALS environment variable.

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author