Open Dieterbe opened 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.
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.
templates are quite useful
+1
in
graphite-web/webapp/graphite/render/glyph.py
the methodloadTemplate
reads the template from the config file. graphite-api doesn't do this.template
http param and graphTemplates.conf, glyph.py also refers to the file, but the file is not used and the param does nothing.