freebsd-ports/www/carbonapi/files/patch-cmd_carbonapi_carbonapi.example.yaml
Mikael Urankar 542ce8bc63 www/carbonapi: Update to 0.14.1
- update to 0.14.1
 - switch to go:modules
 - drop gmake and use GO_TARGET instead
 - build carbonzipper
 - move examples files to EXAMPLESDIR
 - remove excessive tabs

PR:		247083
Approved by:	a.andersson.thn@gmail.com (maintainer timeout)
2020-10-31 16:11:13 +00:00

19 lines
837 B
YAML

--- cmd/carbonapi/carbonapi.example.yaml.orig 2020-08-19 11:50:06 UTC
+++ cmd/carbonapi/carbonapi.example.yaml
@@ -222,7 +222,7 @@ upstreams:
# If not zero, enabled cache for find requests
# This parameter controls when it will expire (in seconds)
# Default: 600 (10 minutes)
-graphTemplates: graphTemplates.example.yaml
+graphTemplates: /usr/local/etc/carbonapi/graphTemplates.example.yaml
expireDelaySec: 10
# Uncomment this to get the behavior of graphite-web as proposed in https://github.com/graphite-project/graphite-web/pull/2239
# Beware this will make darkbackground graphs less readable
@@ -241,6 +241,6 @@ logger:
encodingTime: "iso8601"
encodingDuration: "seconds"
- logger: ""
- file: "carbonapi.log"
+ file: "/var/log/carbonapi/carbonapi.log"
level: "info"
encoding: "json"