https://github.com/alphagov/pay-adot
GOV.UK Implementation of Amazon Distribution for Open Telemetry as a Fargate sidecar
https://github.com/alphagov/pay-adot
govuk-pay
Last synced: 26 days ago
JSON representation
GOV.UK Implementation of Amazon Distribution for Open Telemetry as a Fargate sidecar
- Host: GitHub
- URL: https://github.com/alphagov/pay-adot
- Owner: alphagov
- License: mit
- Created: 2023-07-19T07:56:48.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-14T09:35:32.000Z (about 2 months ago)
- Last Synced: 2025-04-14T10:36:59.439Z (about 2 months ago)
- Topics: govuk-pay
- Language: Shell
- Homepage:
- Size: 114 KB
- Stars: 0
- Watchers: 16
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# pay-adot
GOV.UK Implementation of Amazon Distribution for Open Telemetry as a Fargate sidecar.
The sidecar will scrape `/metrics` on the configured container port and push the scraped metrics to a remote prometheus instance.
Authentication with the remote prometheus instance will be done by assuming a role and signing requests using AWS SigV4
authentication.## Environment variables
The following environment variables must be set for this container to function:
Environment variable | Example | Description
---------------------|---------|------------
APPLICATION\_PORT | `3000` | Open Telemetry will connect to this port on localhost to scrape the /metrics endpoint
PROMETHEUS\_ENDPOINT\_URL | `https://aps-workspaces.eu-west-1.amazonaws.com/workspaces/ws-01234567-89ab-cdef-0123456789ab/` | The full endpoint URL exposing a prometheus remote write receiver
PROMETHEUS\_WRITE\_ASSUME\_ROLE\_ARN | `arn:aws:iam::12345678:role/example-role` | The ARN of the role to assume when writing to prometheus
AWS\_REGION | `eu-west-1` | The region in which to assume the role specified in PROMETHEUS\_WRITE\_ASSUME\_ROLE\_ARN## Licence
[MIT License](LICENSE)
## Vulnerability Disclosure
GOV.UK Pay aims to stay secure for everyone. If you are a security researcher and have discovered a security vulnerability in this code, we appreciate your help in disclosing it to us in a responsible manner. Please refer to our [vulnerability disclosure policy](https://www.gov.uk/help/report-vulnerability) and our [security.txt](https://vdp.cabinetoffice.gov.uk/.well-known/security.txt) file for details.