Commit Graph

59 Commits (dependabot/github_actions/scripts/golangci/golangci-lint-action-8.0.0)

Author SHA1 Message Date
George Krajcsovits d085f7da9b
Revert "ruler: correct logging of alert name & template data" 3 months ago
Matthieu MOREL 5fa1146e21
chore: enable gci linter (#16245) 3 months ago
Arve Knudsen 4f67a38a39
template: Use cases.Title instead of deprecated strings.Title (#15721) 6 months ago
Dimitar Dimitrov 8b45384a44
Make templateData a struct 6 months ago
beorn7 0f760f63dd lint: Revamp our linting rules, mostly around doc comments 10 months ago
Arve Knudsen fbcd50f32c Upgrade golangci-lint to v1.60.2 10 months ago
Arve Knudsen 3a78e76282 Upgrade golangci-lint to v1.60.1 10 months ago
Sergey 9caba4be7d chore: use HumanizeDuration and ConvertToFloat from prometheus/common 11 months ago
Sergey 5a5a6f08ef
chore: use HumanizeDuration from prometheus/common (#14202) 1 year ago
suntala 9a7c6a5cc4 Support native histogram values in template functions 1 year ago
suntala 44f385fd51 Support expansion of native histogram values in alert templates 1 year ago
Oleksandr Redko 8e5f0387a2
ci(lint): enable nolintlint and remove redundant comments (#12926) 2 years ago
Matthieu MOREL fb3eb21230 enable gocritic, unconvert and unused linters 2 years ago
beorn7 c0879d64cf promql: Separate `Point` into `FPoint` and `HPoint` 2 years ago
Jonathan K. Stevens ce1bf8b15a
template: adding formatTime function to TemplateExpander (#10993) 3 years ago
Matthieu MOREL 554f3f32f8
refactor (template): move from github.com/pkg/errors to 'errors' and 'fmt' (#10818) 3 years ago
Ziqi Zhao 74e5b596da
add stripDomain to template function (#10475) 3 years ago
Sylvain Rabot c31a3e4c92
Build with Go 1.18 (#10501) 3 years ago
Martina Ferrari 3e4bd4d913 Avoid literal integer overflows in 32 bit arches. 3 years ago
Julien Pivotto 9a2e93228e
Switch to grafana/regexp everywhere (#10268) 3 years ago
uesyn 13af2470bf
Add stripPort to template function (#10002) 4 years ago
David Leadbeater c0c5f3227b Update to return a float 4 years ago
David Leadbeater 89ebb3dcf2 Add parseDuration to template functions 4 years ago
Jacques-Etienne Beaudet 9fae120f2a Support int and uint as datatype for template formatting 4 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra' 4 years ago
George Robinson 049b4f4f13
Support customization of template options in TemplateExpander (#9290) 4 years ago
Levi Harrison 17ea8d006a
Added external URL access 4 years ago
Julien Pivotto ea6f6bba74
Enable parsing strings in humanize functions (#8682) 4 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087) 5 years ago
johncming 099b0d7c29 template: remove redundant parentheses. (#5904) 6 years ago
AllenZMC 00b556e9b5 fix mis-spelling in template.go 6 years ago
Jens Erat 375aeb9158 Added humanizePercentage formatting to templates (#5670) 6 years ago
Bjoern Rabenstein 38d518c0fe Rework #5009 after comments 6 years ago
Sylvain Rabot 335a34486e Add external labels to template expansion 6 years ago
Tariq Ibrahim 8fdfa8abea refine error handling in prometheus (#5388) 6 years ago
Mucahit Kurt 4a6c329d71 add alert template expanding failure metric (#4747) 7 years ago
Ganesh Vernekar 05726c5ea2 Test template expansion while loading groups (#4537) 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 8 years ago
Julius Volz 099df0c5f0 Migrate "golang.org/x/net/context" -> "context" (#3333) 8 years ago
Julius Volz ac203ef0ee Add externalURL template function (#2716) 8 years ago
Fabian Reinartz 5817cb5bde *: migrate from model.* to promql.* types 9 years ago
Fabian Reinartz 09666e2e2a promql: make scalar public 9 years ago
Julius Volz c187308366 storage: Contextify storage interfaces. 9 years ago
Julius Volz ed5a0f0abe promql: Allow per-query contexts. 9 years ago
Dmitry Ulianov a8619111f3 Added toUpper and toLower formatting to templates 9 years ago
Brian Brazil 738af32057 template: Use zero-values for missing values. 10 years ago
Julius Volz af513468eb Fix some dead code, missing error checks, shadowings. 10 years ago
Julius Volz 995d3b831d Fix most golint warnings. 10 years ago
Fabian Reinartz d6b8da8d43 Switch promql types to common/model 10 years ago