ports/www/carbonapi/files/patch-carbonapi.example.yaml
Kurt Jaeger 950de38ee4 New port: www/carbonapi
carbonapi is a frontend for carbonzipper and can partially replace graphiteweb.

WWW: https://github.com/go-graphite/carbonapi

PR:		226808
Submitted by:	Andreas Andersson <a.andersson.thn@gmail.com>
2018-03-21 16:49:20 +00:00

19 lines
809 B
YAML

--- carbonapi.example.yaml.orig 2018-03-20 21:04:44 UTC
+++ carbonapi.example.yaml
@@ -106,7 +106,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
@@ -125,6 +125,6 @@ logger:
encodingTime: "iso8601"
encodingDuration: "seconds"
- logger: ""
- file: "carbonapi.log"
+ file: "/var/log/carbonapi/carbonapi.log"
level: "info"
encoding: "json"