Page MenuHomeDevCentral

Deploy Relay for SDK development on Dwellers
ClosedPublic

Authored by dereckson on Mar 16 2023, 18:33.
Tags
None
Referenced Files
F2850268: D2900.diff
Thu, Apr 25, 12:28
F2850161: D2900.diff
Thu, Apr 25, 11:18
Unknown Object (File)
Wed, Apr 24, 08:26
Unknown Object (File)
Sun, Apr 21, 21:20
Unknown Object (File)
Fri, Apr 19, 09:03
Unknown Object (File)
Thu, Apr 18, 01:31
Unknown Object (File)
Wed, Apr 17, 10:32
Unknown Object (File)
Tue, Apr 16, 23:44
Subscribers
None

Details

Summary

Sentry documentation suggests to use a local Relay installation. Relay source
code (UTSL) indicates the capture mode can be used for that goal.

A flavour option is added to the pillar: if set at dev, it will install
such Relay deployment and skip geoip volume.

Payloads can then be sent to https://dwellers.nasqueron.org:26300
and results checks in docker logs sentry_relay on that server.

We had luck with credentials generation for the production environment,
but we stumbled upon the issue it created an empty file, so it's best
to use a temporary file inside the container, so no need to docker cp
or play a pipe dance.

Reference: https://develop.sentry.dev/sdk/basics/

Ref T1790

Test Plan

Deployed both on docker-002, where it's correctly no-op, and on Dwellers.

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
dereckson edited the summary of this revision. (Show Details)
dereckson edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Mar 16 2023, 18:35