Skip to content

Commit

Permalink
Merge pull request #113 from HilkopterBob/monitoring
Browse files Browse the repository at this point in the history
feat: monitoring
  • Loading branch information
HilkopterBob authored Oct 29, 2024
2 parents 7705541 + 3a7decc commit 127078b
Show file tree
Hide file tree
Showing 4 changed files with 195 additions and 4 deletions.
1 change: 1 addition & 0 deletions config/conf-init.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ func CreateDefaultConfig(config *viper.Viper, logger *zap.Logger) {
general:
debug: true
production: false
monitoring: true
database:
address: 127.0.0.1
port: 8000
Expand Down
13 changes: 12 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module packagelock
go 1.22.6

require (
github.com/ansrivas/fiberprometheus v0.3.2
github.com/fsnotify/fsnotify v1.7.0
github.com/gofiber/contrib/fiberzap v1.0.2
github.com/gofiber/contrib/jwt v1.0.10
Expand All @@ -29,10 +30,15 @@ require (
require (
github.com/MicahParks/keyfunc/v2 v2.1.0 // indirect
github.com/andybalholm/brotli v1.1.1 // indirect
github.com/ansrivas/fiberprometheus/v2 v2.7.0 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/go-logr/logr v1.4.2 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/gofiber/fiber v1.14.4 // indirect
github.com/gofiber/template v1.8.3 // indirect
github.com/gofiber/utils v1.1.0 // indirect
github.com/gorilla/schema v1.1.0 // indirect
github.com/gorilla/websocket v1.5.0 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
Expand All @@ -43,7 +49,12 @@ require (
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-runewidth v0.0.16 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/pelletier/go-toml/v2 v2.2.2 // indirect
github.com/prometheus/client_golang v1.20.5 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.60.0 // indirect
github.com/prometheus/procfs v0.15.1 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/sagikazarmark/locafero v0.4.0 // indirect
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
Expand All @@ -64,7 +75,7 @@ require (
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
golang.org/x/sys v0.26.0 // indirect
golang.org/x/text v0.19.0 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
google.golang.org/protobuf v1.35.1 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit 127078b

Please sign in to comment.