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:
@@ -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")
|
||||
|
Reference in New Issue
Block a user