Remove honeycomb

This commit is contained in:
Dave Gallant
2023-01-19 20:00:31 -05:00
parent 370631b65b
commit 4c1034521c
4 changed files with 0 additions and 20 deletions

View File

@@ -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). 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 ## Local Development
If running locally, ensure that the ENV vars are exported to your shell. If running locally, ensure that the ENV vars are exported to your shell.

View File

@@ -9,9 +9,6 @@ import (
"github.com/rs/zerolog/log" "github.com/rs/zerolog/log"
utils "github.com/davegallant/rfd-fyi/pkg/utils" 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 // @title RFD FYI API
@@ -32,13 +29,6 @@ import (
func main() { func main() {
log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stderr}) 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{} a := &App{}
httpPort := utils.GetEnv("HTTP_PORT", "8080") httpPort := utils.GetEnv("HTTP_PORT", "8080")

View File

@@ -13,4 +13,3 @@ services:
image: ghcr.io/davegallant/rfd-fyi-backend image: ghcr.io/davegallant/rfd-fyi-backend
ports: ports:
- 8080:8080 - 8080:8080
env_file: .env

View File

@@ -17,4 +17,3 @@ services:
context: backend context: backend
ports: ports:
- 8080:8080 - 8080:8080
env_file: .env