dxos-deprecated / sdk

DXOS SDK and tools.
GNU Affero General Public License v3.0
0 stars 2 forks source link

Epic - Provide a decentralized logging solution #277

Closed alexwykoff closed 3 years ago

alexwykoff commented 3 years ago

High level: We need a decentralized solution for developers to use so they can gain insight in their performance.

alexwykoff commented 3 years ago

Short term: To provide insight to engineering efforts, an interim solution is sufficient, knowing it will be ultimately be replaced by a properly decentralized and DXOS native solution.

Solutions under consideration: ELK - https://www.elastic.co/elastic-stack https://honeycomb.io/

dmaretskyi commented 3 years ago

https://develop.sentry.dev/self-hosted/

dboreham commented 3 years ago

I added docker and docker-compose to the wire machine cloud-config setup: https://github.com/dxos/cli/pull/53

With a kube thus made you can download run the sentry self-host installation script as documented here: https://develop.sentry.dev/self-hosted/#getting-started

and get a kube-hosted sentry like this: http://kubeb9693a44.kube.dxos.network:9000/auth/login/sentry/

todo: configure sentry; ssl; render in iframe within console

alexwykoff commented 3 years ago

Pending re-deploy to larger VM.

dboreham commented 3 years ago

I made a new kube with sentry and ssl : https://sentry.kube.dxos.network/hosted/sentry There's a problem with proxying that I haven't figured out yet, so for now there's a workaround to get the site to load properly. Made an account : admin@wireline.io, password wirelineadmin99 After logging in, it displays an error. Workaround by clicking on the left top to bring up the menu, then select any item (e.g. User Settings). That fixes whatever it is confused about with the path. Some doc on deployment: https://github.com/dxos/kube/blob/main/docs/content/advanced/hosting-sentry.md

dboreham commented 3 years ago

Currently has the kube CA deployed which needs to be imported into a browser for trust: https://sentry.kube.dxos.network/cert/

dboreham commented 3 years ago

Letsencrypt cert deployed.

alexwykoff commented 3 years ago

Related Issue - Update console with a link to sentry https://github.com/dxos/console/issues/53

alexwykoff commented 3 years ago

Sentry Digital Ocean instance is now backed up.