telemetry

module
v0.0.0-...-65c346b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2024 License: MIT

README

Telemetry

Opt-in message reliability metrics service.

Development

You need to setup a postgres db as such:

  1. Create a telemetry user with password newPassword
  2. Create a db telemetry
  3. Create a db telemetry_test

Then you can run the server with:

go run cmd/server/main.go -data-source-name postgres://telemetry:newPassword@127.0.0.1:5432/telemetry

If trying to run locally you receive the following error:

pq: SSL is not enabled on the server

Run this command instead:

go run cmd/server/main.go -data-source-name "postgres://telemetry:newPassword@127.0.0.1:5432/telemetry?sslmode=disable"

Finally, to run the test:

make test

Continuous Integration

Builds of Docker images are created with our Jenkins CI which push a statusteam/telemetry Docker image.

The host is managed in infra-misc repository.

Directories

Path Synopsis
cmd
lib
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL