From 4c1034521c6c76d746635f7ac56d7e998726ab7a Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Thu, 19 Jan 2023 20:00:31 -0500 Subject: [PATCH] Remove honeycomb --- README.md | 8 -------- backend/main.go | 10 ---------- docker-compose.prod.yml | 1 - docker-compose.yml | 1 - 4 files changed, 20 deletions(-) diff --git a/README.md b/README.md index ff06e14..0a695f6 100644 --- a/README.md +++ b/README.md @@ -6,14 +6,6 @@ The frontend is made with Vue 3 and the backend is written in Go. The backend ex It is hosted at [rfd.fyi](https://rfd.fyi). -## Environment Variables - -Ensure that an `.env` file is filled in with the appropriate values. - -Example key/values can be found in [example.env](./example.env). - -_Note: that a [honeycomb](https://honeycomb.io/) API key is currently required._ - ## Local Development If running locally, ensure that the ENV vars are exported to your shell. diff --git a/backend/main.go b/backend/main.go index 851530f..1299e37 100644 --- a/backend/main.go +++ b/backend/main.go @@ -9,9 +9,6 @@ import ( "github.com/rs/zerolog/log" utils "github.com/davegallant/rfd-fyi/pkg/utils" - - _ "github.com/honeycombio/honeycomb-opentelemetry-go" - "github.com/honeycombio/opentelemetry-go-contrib/launcher" ) // @title RFD FYI API @@ -32,13 +29,6 @@ import ( func main() { log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stderr}) - // use honeycomb distro to setup OpenTelemetry SDK - otelShutdown, err := launcher.ConfigureOpenTelemetry() - if err != nil { - log.Fatal().Msgf("error setting up OTel SDK - %e", err) - } - defer otelShutdown() - a := &App{} httpPort := utils.GetEnv("HTTP_PORT", "8080") diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 84adf5a..80adf6b 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -13,4 +13,3 @@ services: image: ghcr.io/davegallant/rfd-fyi-backend ports: - 8080:8080 - env_file: .env diff --git a/docker-compose.yml b/docker-compose.yml index b318de1..3b019a8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -17,4 +17,3 @@ services: context: backend ports: - 8080:8080 - env_file: .env