brutasse / graphite-api

Graphite-web, without the interface. Just the rendering HTTP API.
https://graphite-api.readthedocs.io
Apache License 2.0
493 stars 133 forks source link

templating #35

Open Dieterbe opened 10 years ago

Dieterbe commented 10 years ago

in graphite-web/webapp/graphite/render/glyph.py the method loadTemplate reads the template from the config file. graphite-api doesn't do this.

brutasse commented 10 years ago

I'd be in favor of dropping the template-related code and document that graphite-api doesn't have templates and passing &template= is a no-op.

Dieterbe commented 10 years ago

why? i would argue that templates are quite useful, and easy to implement. do you think people should append all style parameters to every png url? that can get cumbersome.

zzl0 commented 7 years ago

templates are quite useful

+1