35 Commits (c32725ba7873dbaa39c223410043430ffa5a26c0)

Author SHA1 Message Date
David Leadbeater c0c5f3227b Update to return a float 3 years ago
David Leadbeater 89ebb3dcf2 Add parseDuration to template functions 3 years ago
Jacques-Etienne Beaudet 9fae120f2a Support int and uint as datatype for template formatting 3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory 3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra' 3 years ago
George Robinson 049b4f4f13
Support customization of template options in TemplateExpander (#9290) 3 years ago
George Robinson 9397402bd3 Fix template_test.go to check that error messages match the expected error message 3 years ago
Julien Pivotto ea6f6bba74
Enable parsing strings in humanize functions (#8682) 4 years ago
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122) 4 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087) 4 years ago
Guangwen Feng 663016ee0c
Add unit test case to improve test coverage for template.go (#7537) 4 years ago
Jens Erat 375aeb9158 Added humanizePercentage formatting to templates (#5670) 6 years ago
Simon Pasquier 45506841e6
*: enable all default linters (#5504) 6 years ago
Elif T. Kuş daebf68ea2 Rewrote tests for relabel and template (#3754) 7 years ago
Dominik-K 67c13ba156 template: all `text_template` settings before parsing (bugfix "nil-pointer dereference") (#3854) 7 years ago
Fabian Reinartz 2d0e3746ac rules: remove dependency on promql.Engine 7 years ago
Julius Volz 099df0c5f0 Migrate "golang.org/x/net/context" -> "context" (#3333) 7 years ago
Julius Volz ac203ef0ee Add externalURL template function (#2716) 8 years ago
Fabian Reinartz 311e7b5069 storage/vendor: update to latest fabxc/tsdb 8 years ago
Fabian Reinartz 157e698958 web/api: fix min/max timestamps to valid range 8 years ago
Fabian Reinartz fecf9532b9 *: fix misc compile errors 8 years ago
Julius Volz c187308366 storage: Contextify storage interfaces. 8 years ago
Julius Volz ed5a0f0abe promql: Allow per-query contexts. 8 years ago
beorn7 094a098ce6 Revert "Revert the /graph changes." 8 years ago
beorn7 aa43d34a86 Revert the /graph changes. 8 years ago
Dmitry Ulianov a8619111f3 Added toUpper and toLower formatting to templates 8 years ago
Bora Tunca fc6cdd0611 Update backend helpers and templates to new url schema 8 years ago
beorn7 4b574e8a61 Switch chunk encoding to type 2 where it was hardcoded type 1 before 9 years ago
Brian Brazil 738af32057 template: Use zero-values for missing values. 9 years ago
Fabian Reinartz 306e8468a0 Switch from client_golang/model to common/model 9 years ago
Julius Volz bbc8b8490e Switch human-readable times to UTC. 10 years ago
Julius Volz d868264bb8 Improve UI of /alerts page. 10 years ago
Fabian Reinartz fe301d7946 promql: remove global flags 10 years ago
Fabian Reinartz f45a5cab60 Move templates package to pkg/template 10 years ago
Julius Volz d7c015c149 Convert pathPrefix to not have trailing slash. 10 years ago
Fabian Reinartz e04d05d8b3 Do implicit conversion in template queries. 10 years ago
Fabian Reinartz 3ca11bcaf5 Switch Prometheus to promql package. 10 years ago
Ceesjan Luiten 0e18784c64 Make all paths absolute to support proxies 10 years ago
Brian Brazil 941f585164 Avoid +InfYs and similar, just display +Inf. 10 years ago
beorn7 be11cb2b07 Remove the sample ingestion channel. 10 years ago
beorn7 13fcf1ddbc Implement double-delta encoded chunks. 10 years ago
Brian Brazil 93edd930a6 Better handling of edge conditions in humanizeDuration 10 years ago
Bjoern Rabenstein 5859b74f1b Clean up license issues. 10 years ago
Brian Brazil ffa2e73803 Fix regression from 5e8d57bec1 10 years ago
Bjoern Rabenstein 38fc24d0ed Fix targetpool_test.go and other tests. 10 years ago
Julius Volz 7f5d3c2c29 Fix and improve the fp locker. 10 years ago
Julius Volz e7ed39c9a6 Initial experimental snapshot of next-gen storage. 10 years ago
Julius Volz c6e9f085a3 Update used Go version to 1.3. 10 years ago
Brian Brazil 144d5bb9fd Add 'tmpl', a 'template' for non-string literal names. 10 years ago
Brian Brazil f525ca5d9e Let consoles get graph links from experssions. 10 years ago