Commit Graph

159 Commits (97acd170b2380391aa8ee8b5bf8449629809ca5b)

Author SHA1 Message Date
shreyassrivatsan e825282dd1 Add exemplar support to the openmetrics parser (#6292)
5 years ago
Tom Wilkie de0a772b8e Port tsdb to use pkg/labels. (#6326)
5 years ago
Callum Styan 54e3fc82f1 Add a README.md to textparse package about how to update lexers.
5 years ago
Peter Tribble 90c3615a2c Fix solaris build. (#6149)
5 years ago
zhulongcheng 970ef41bb6 Fix exported function comments (#6002)
5 years ago
Brian Brazil 94b1af1471
Update to disallow new Go 1.13 float formats. (#5984)
5 years ago
Simon Pasquier 06066a3619
*: improve error messages when parsing bad rules (#5965)
5 years ago
Brian Brazil c66bfce8cf
Don't panic on short input. (#5939)
5 years ago
Tobias Klauser 02430f88da pkg/runtime: simplify Utsname string conversion (#5625)
5 years ago
Bartek Plotka f0863a604e Removed extra tsdb/testutil after merge.
5 years ago
Brian Brazil e62f30d497
Correctly handle empty labels from alert templates. (#5845)
5 years ago
Chris Marchbanks 529ccff07b
Remove all usages of stretchr/testify
5 years ago
Ganesh Vernekar 588eb20018
Efficient iteration and search in HashForLabels and HashWithoutLabels (#5707)
5 years ago
Thomas Jackson a000cec011 Re-use label builder in promql aggregation (#5641)
6 years ago
Lee Gaines f4486815c1 logs filesystem type on startup (#5558)
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
Tom Wilkie c7b3535997 Use pkg/relabelling in remote write.
6 years ago
Giedrius Statkevičius 10ec2552af promparse: sort all labels when parsing (#5372)
6 years ago
Mario Trangoni 5354ffff99 Fix some spelling issues (#5361)
6 years ago
Callum Styan b8106dd459 Review feedback:
6 years ago
Tom Wilkie d6f911b511 Factor out logging ratelimit & dedupe middleware.
6 years ago
Tariq Ibrahim a2a6e24f9f show list of offending labels in the error message in many-to-many scenarios (#5189)
6 years ago
JoeWrightss e158c53fa9 Fix some typos in comment (#5175)
6 years ago
Matt Layher 28eff63eca pkg/runtime: use panic instead of log.Fatal for system call errors
6 years ago
AixesHunter 9f903fb3f7 github.com/cznic/golex has moved to modernc.org/golex (#5034)
6 years ago
AixesHunter 29f21b8d0c import aliases yaml that can be omitted (#5018)
6 years ago
Bartek Płotka 62c8337e77 Moved configuration into `relabel` package. (#4955)
6 years ago
Ben Kochie c6399296dc
Fix spelling/typos (#4921)
6 years ago
Simon Pasquier 5230e2730a
*: check that assets are up-to-date (#4731)
6 years ago
Brian Brazil 3fdb92010e Expand OM to OpenMetrics
6 years ago
Brian Brazil 9c03e11c2c Hook OpenMetrics parser into scraping.
6 years ago
Brian Brazil c271ef456a Add an OpenMetrics parser.
6 years ago
Brian Brazil ffe7efb411 Prepare for multiple text formats
6 years ago
Tom Wilkie 4c52400708
Limit concurrent remote reads. (#4656)
6 years ago
Ganesh Vernekar 05726c5ea2 Test template expansion while loading groups (#4537)
6 years ago
Krasi Georgiev 12fe204ea6
move runtime debug funcs in own package (#4494)
6 years ago
Brian Brazil 70c98a06f1
Handle empty HELP in text parser. (#4444)
6 years ago
Alin Sinpalean 96fb0b2155 Optimize PromQL aggregations (#4248)
6 years ago
Fabian Reinartz 0ff42e754e pkg/textparse: unescape help string
7 years ago
Fabian Reinartz 5fcc5b6028 pkg/textparse: support null bytes in comments and help
7 years ago
Fabian Reinartz 76a4a46cb0 pkg/textparse: refactor and add metadata handling
7 years ago
Elif T. Kuş 57dcdfb15f Rewrote tests with testutil for several test files (#4086)
7 years ago
Manos Fokas 25f929b772 Yaml UnmarshalStrict implementation. (#4033)
7 years ago
Fabian Reinartz ef567ceb7d
Merge pull request #3835 from krasi-georgiev/pool-package-generalize
7 years ago
Krasi Georgiev 933ab8a34e stupid return mistake fix, and dropped the additional assertion check!
7 years ago
Krasi Georgiev 675ce533c9 refactored TestScrapeLoopAppend and added a test for empty labels
7 years ago
Brian Brazil 4addee2bee Fix honor_labels for empty labels, prune empty labels.
7 years ago
Krasi Georgiev 9b7f0cfa88 rename initialize to make
7 years ago
Krasi Georgiev 9878d66484 exit early and panic for non slice on buffer.Put
7 years ago
Krasi Georgiev f2c5913416 generalize the pool package and refactor scraper to use it.
7 years ago
Filip Ochnik ec1c6b7c29 textparse: reject empty label names
7 years ago
Krasi Georgiev b75428ec19 rename package retrieve to scrape
7 years ago
Julius Volz 192e665317 rulefmt: Allow parsing from bytes instead of file
7 years ago
Conor Broderick 59d4c539d1 Added rule name to rule error for easier debugging (#3549)
7 years ago
Julius Volz c3d6abc8e6 Fix some lint errors (#3334)
7 years ago
Krasi Georgiev 3697075b8f validates that the recording name to include only allowed characters. (#3305)
7 years ago
Julius Volz 5da0fd91db Add label matcher tests
7 years ago
Julius Volz 33c1171b9c Don't add anchoring to exported `Value` matcher field
7 years ago
Fabian Reinartz d6f6ad67b3 pkg/pool: create bucketed memory pool package.
7 years ago
Goutham Veeramachaneni 11ee713ced Handle common escape characters properly. (#2995)
7 years ago
Julius Volz c6f41ce391 Allow metric and label names to begin with underscores (#2961)
7 years ago
Goutham Veeramachaneni b7eddbcd98 textparse: Add fuzzing and fix bug caught
7 years ago
Goutham Veeramachaneni 0e78b7e7c8 parser: support spaces everywhere
7 years ago
Brian Brazil dd07f693c8 Single quotes are not valid label value delimiters.
8 years ago
Brian Brazil a6ca391e6e Reject scrapes with invalid utf-8 label values.
8 years ago
Goutham Veeramachaneni 592cb00c2f
Remove version from RuleGroups
8 years ago
Goutham Veeramachaneni 6b70a4d850
Incorporate PR feedback
8 years ago
Goutham Veeramachaneni dc69645e92
Move back to go-yaml
8 years ago
Goutham Veeramachaneni e893c89333
Validate labels and annotations
8 years ago
Goutham Veeramachaneni c884881f7d
Add License Header
8 years ago
Goutham Veeramachaneni 2d1e92513b
Add tests
8 years ago
Goutham Veeramachaneni a48a018368
Make sure groups are unique in a single file
8 years ago
Goutham Veeramachaneni cea1e99f78
Add update-rules command to promtool
8 years ago
Goutham Veeramachaneni e8f55669ea Move rules to new format
8 years ago
Fabian Reinartz c843a0cd29 pkg/rulefmt: Add rule group parsing
8 years ago
Fabian Reinartz bc7aff8cef retrieval: extract scrape cache
8 years ago
Fabian Reinartz a83014f53c retrieval: fix memory leak and consumption for caches
8 years ago
Fabian Reinartz 10d8b6b633 Merge pull request #2764 from prometheus/nullparse
8 years ago
Fabian Reinartz bdc763f95f pkg/textparse: allow null bytes in label values
8 years ago
Brian Brazil 9aa8f822c1 Fix typo
8 years ago
Fabian Reinartz ea09299ca5 pkg/textparse: handle trailing labels comma (#2752)
8 years ago
Brian Brazil 73049ba79d Make the choice of NaN values clearer.
8 years ago
Brian Brazil a5cf25743c Move stalness check into a function
8 years ago
Brian Brazil beaa7d5a43 Move consistent NaN logic into the parser.
8 years ago
Brian Brazil 76acf7b9b1 Ensure all the NaNs we ingest have the same bit pattern.
8 years ago
Fabian Reinartz f7c5d96e84 pkg/textparse: parse metric names with ':'
8 years ago
Fabian Reinartz 377886b371 pkg/textparse: implement timestamp parsing
8 years ago
Brian Brazil 5c9a6ce747 Add license to files.
8 years ago
Fabian Reinartz 8ffc851147 Merge branch 'master' into dev-2.0
8 years ago
Fabian Reinartz d9fb57cde4 *: Simplify []byte to string unsafe conversion
8 years ago
Fabian Reinartz d80a3de235 pkg/textparse: add documentation
8 years ago
Fabian Reinartz db48726a6b pkg/textparse: allocate single string per metric
8 years ago
Fabian Reinartz c691895a0f retrieval: cache series references, use pkg/textparse
8 years ago
Fabian Reinartz fb3ab9bdb7 pkg/textparse: add more benchmarking, align lex defs
8 years ago
Fabian Reinartz e44d80314d pkg/textparse: add tests and method to retrieve full labels
8 years ago
Fabian Reinartz 091a7f2395 pkg/textparse: add initial text parser
8 years ago
Fabian Reinartz e94b0899ee rules: fix tests, remove model types
8 years ago
Fabian Reinartz 8b4e4a9d2b notifier: fully use labels.Labels
8 years ago