mirror of
https://github.com/openfaas/faas.git
synced 2025-06-08 08:25:03 +00:00
- this PR adds metrics via Prometheus for instrumentation and to move towards using HPAv2 / custom metrics in Kubernetes. Signed-off-by: Alex Ellis <alexellis2@gmail.com>
35 lines
738 B
TOML
35 lines
738 B
TOML
# Gopkg.toml example
|
|
#
|
|
# Refer to https://golang.github.io/dep/docs/Gopkg.toml.html
|
|
# for detailed Gopkg.toml documentation.
|
|
#
|
|
# required = ["github.com/user/thing/cmd/thing"]
|
|
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
|
|
#
|
|
# [[constraint]]
|
|
# name = "github.com/user/project"
|
|
# version = "1.0.0"
|
|
#
|
|
# [[constraint]]
|
|
# name = "github.com/user/project2"
|
|
# branch = "dev"
|
|
# source = "github.com/myfork/project2"
|
|
#
|
|
# [[override]]
|
|
# name = "github.com/x/y"
|
|
# version = "2.4.0"
|
|
#
|
|
# [prune]
|
|
# non-go = false
|
|
# go-tests = true
|
|
# unused-packages = true
|
|
|
|
|
|
[[constraint]]
|
|
name = "github.com/prometheus/client_golang"
|
|
version = "0.9.2"
|
|
|
|
[prune]
|
|
go-tests = true
|
|
unused-packages = true
|