Renderer: add version information (#34964)

* Renderer: add version information

* fix alerting test
This commit is contained in:
Agnès Toulet
2021-06-04 14:33:49 +03:00
committed by GitHub
parent b46715ee4a
commit 5f6c172b5a
6 changed files with 54 additions and 1 deletions
+1
View File
@@ -60,6 +60,7 @@ type renderCSVFunc func(ctx context.Context, renderKey string, options CSVOpts)
type Service interface {
IsAvailable() bool
Version() string
Render(ctx context.Context, opts Opts) (*RenderResult, error)
RenderCSV(ctx context.Context, opts CSVOpts) (*RenderCSVResult, error)
RenderErrorImage(error error) (*RenderResult, error)