mirror of
https://github.com/davegallant/rfd-fyi.git
synced 2025-08-06 07:13:39 +00:00
Remove honeycomb
This commit is contained in:
@@ -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.
|
||||||
|
@@ -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")
|
||||||
|
@@ -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
|
|
||||||
|
@@ -17,4 +17,3 @@ services:
|
|||||||
context: backend
|
context: backend
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
env_file: .env
|
|
||||||
|
Reference in New Issue
Block a user