Commit Graph

1352 Commits

Author SHA1 Message Date
Kevin Pike 5e9294fbb7 continue to fix errors 2015-07-21 08:38:46 -07:00
Kevin Pike 59305998f6 remove prometheus namespace references, copy paste error 2015-07-21 08:34:50 -07:00
Kevin Pike b14b149930 use counters where applicable, improve descriptions 2015-07-21 08:24:22 -07:00
Kevin Pike 8a6e3ecf23 adds general and heap memory statistics 2015-07-20 20:55:38 -07:00
Björn Rabenstein 36659fa1ad Merge pull request #145 from prometheus/beorn7/doc
Document the possibility to create "empty" metrics in a metric vector.
2015-07-15 13:39:11 +02:00
beorn7 7abba842b0 Document the possibility to create "empty" metrics in a metric vector.
This fixes https://github.com/prometheus/client_golang/issues/119.
2015-07-15 13:13:56 +02:00
Fabian Reinartz 3b16b46a71 Merge pull request #142 from prometheus/fabxc/exported
Rename ExporterLabelPrefix to ExportedLabelPrefix.
2015-06-23 13:38:51 +02:00
Fabian Reinartz 81db81dfdd Rename ExporterLabelPrefix to ExportedLabelPrefix. 2015-06-23 13:02:47 +02:00
Tobias Schmidt 00e4c46296 Merge pull request #141 from ttacon/master
Remove www subdomain from Prometheus link.
2015-06-15 23:48:08 -04:00
Trey Tacon d0526d0723 Remove www subdomain from Prometheus link.
The prometheus link in the README is broken - there is no page at www.prometheus.io (it's at promethius.io - I guess they didn't set up a redirect). @beorn7
2015-06-15 22:26:46 -04:00
Julius Volz cc283d6611 Merge pull request #138 from prometheus/update-readme
Make README.md less obtuse for beginners.
2015-06-13 12:22:35 +02:00
Julius Volz a03cc290e7 Merge pull request #139 from prometheus/fix-untyped-ref
Fix doc-comment reference to Untyped metric.
2015-06-13 12:22:23 +02:00
Julius Volz d37c6106ba Merge pull request #137 from prometheus/update-doc
Mention histograms in doc.go.
2015-06-13 12:22:12 +02:00
Julius Volz 209414d85f Mention histograms in doc.go. 2015-06-13 12:20:08 +02:00
Julius Volz b6525949dd Fix doc-comment reference to Untyped metric. 2015-06-13 02:16:27 +02:00
Julius Volz f701fb3f54 Make README.md less obtuse for beginners. 2015-06-13 02:11:33 +02:00
Björn Rabenstein cdee5e5e9b Merge pull request #133 from prometheus/beorn7/improve-error-messages
Fix a number of minor things.
2015-06-09 13:49:42 +02:00
beorn7 59f2c7d8b0 Fix a number of minor things.
- Clarify documentation about sorting requirements.
- Add missing histogram support in consistency check.
- Add label sorting to consistency check.
- Improve error messages when reporting a metric.
  (Previously, the metric name was not printed.)
2015-06-09 12:03:07 +02:00
Fabian Reinartz f17ca6af6d Merge pull request #132 from prometheus/fabxc/lname-json
Validate LabelName/LabelSet on JSON unmarshaling.
2015-06-08 13:26:47 +02:00
Fabian Reinartz a85e600fb2 Validate LabelName/LabelSet on JSON unmarshaling. 2015-06-08 12:02:05 +02:00
Björn Rabenstein e217fb58d2 Merge pull request #131 from telendt/master
Solve "The Proxy Problem" of http.InstrumentHandler
2015-06-05 12:53:18 +02:00
Tomasz Elendt dd4dd69878 Solve "The Proxy Problem" of InstrumentHandler
InstrumentHandler provides proxy object over given http.ResponseWriter
- responseWriterDelegator that only implements the bare minimum
required of an http.ResponseWriter and doesn’t implement any interface
upgrades (http.Flusher, http.Hijacker, etc.). This commit fixes it by
providing fancyResponseWriterDelegator with all the fancy bells and
whistles if standard library http.ResponseWriter is detected.

Heavily inspired by Goji's middleware.

https://avtok.com/2014/11/05/interface-upgrades.html#the-proxy-problem
2015-06-04 23:48:40 +02:00
Tomasz Elendt 288762e79c Change responseWriterDelegator.written to int64
Change responseWriterDelegator.written to int64 so that responses
bigger than 4GB could be properly observed on 32 bit systems.
2015-06-04 23:14:37 +02:00
Fabian Reinartz e319516b0f Merge pull request #130 from prometheus/fabxc/cut
Cut 0.6.0.
2015-06-01 19:16:42 +02:00
Fabian Reinartz fb1e875a8a Cut 0.6.0. 2015-06-01 19:09:08 +02:00
Fabian Reinartz 65c3290308 Merge pull request #129 from realzeitmedia/gofmt
gofmt
2015-06-01 17:25:03 +02:00
Robert Vollmert fbb27e7b36 Reorder imports, fixing gofmt. 2015-06-01 17:23:16 +02:00
Björn Rabenstein bf60402a70 Merge pull request #128 from prometheus/beorn7/public-label-name-re
Make LabelNameRE public.
2015-06-01 15:50:06 +02:00
beorn7 10eab41b48 Make LabelNameRE public. 2015-06-01 15:41:09 +02:00
Fabian Reinartz a842dc11e0 Merge pull request #127 from stapelberg/patch-1
doc fix: s/DefObjectives/DefBuckets/
2015-05-30 17:59:02 +02:00
Michael Stapelberg 23ef520369 doc fix: s/DefObjectives/DefBuckets/ 2015-05-30 17:30:45 +02:00
Fabian Reinartz fcd2986466 Merge pull request #126 from prometheus/beorn7/fixes
Ensure alignment of struct members used in sync.atomic functions.
2015-05-21 12:25:34 +02:00
beorn7 944920c696 Ensure alignment of struct members used in sync.atomic functions. 2015-05-21 12:19:38 +02:00
Björn Rabenstein 438d8aefa8 Merge pull request #125 from prometheus/fabxc/yaml
Add LabelName regular expression
2015-05-20 16:18:08 +02:00
Fabian Reinartz bb07c54a58 Add LabelName regular expression 2015-05-20 16:16:40 +02:00
Björn Rabenstein 83c790e949 Merge pull request #124 from prometheus/fabxc/yaml
Add YAML parsing for LabelName
2015-05-20 16:14:36 +02:00
Fabian Reinartz b2b3dad248 Add YAML parsing for LabelName 2015-05-20 16:13:32 +02:00
Julius Volz f112f16831 Merge pull request #123 from prometheus/change-go-metric-prefix
Rename process_goroutines to go_goroutines
2015-05-19 22:56:40 +02:00
Tobias Schmidt 765c1152ca Rename process_goroutines to go_goroutines
The decision was made to use the language name for language specific
metrics, so go_goroutines is the right names similar to
go_gc_duration_seconds.
2015-05-19 15:47:08 -04:00
Björn Rabenstein b0bd7e1be3 Merge pull request #117 from prometheus/beorn7/release
Cut release 0.5.0.
2015-05-06 12:11:30 +02:00
beorn7 8116df73ff Cut release 0.5.0. 2015-05-06 12:10:59 +02:00
Björn Rabenstein 6fa68aa8cf Merge pull request #116 from prometheus/beorn7/fingerprint
Fingerprinting fixes in client_golang
2015-05-06 11:48:50 +02:00
beorn7 41ecb6c6b2 Improve the Metric.Equal and Metric.Before methods. 2015-05-06 11:42:41 +02:00
Björn Rabenstein 86bd077f30 Merge pull request #113 from oliver006/add_gc_metrics
Add garbage collection stats
2015-05-05 22:14:12 +02:00
Oliver 21b132f5a2 record quantiles as well 2015-05-05 12:33:35 -04:00
beorn7 0e0e6bff80 Rework the signature aka fingerprint functions.
Move everything over to a more expensive but less collision-prone way.
However, keep the old fingerprinting under the name "FastFingerprint"
to be used in the storage layer (where we need collision detection
anyway).
2015-05-05 18:02:21 +02:00
Oliver ff586eaac1 Add garbage collection stats 2015-05-05 09:52:36 -04:00
Björn Rabenstein 6efaf95d98 Merge pull request #115 from prometheus/beorn7/const-summaries-histograms
Make it possible to create constant summaries and histograms from static values.
2015-05-04 14:54:46 +02:00
beorn7 c8a7ccf663 Improvements after review. 2015-05-04 13:13:06 +02:00
beorn7 70419a3485 Add examples for const summary/histogram. 2015-05-04 12:22:15 +02:00