Commit Graph

1183 Commits

Author SHA1 Message Date
beorn7 d0ebb8fd05 Update beorn's e-mail and add GH handles
Signed-off-by: beorn7 <beorn@grafana.com>
2019-08-12 17:46:22 +02:00
Björn Rabenstein 801fabc446
Merge pull request #630 from csmarchbanks/api-examples
Provide godoc examples for using the api
2019-08-09 23:23:17 +02:00
Chris Marchbanks 48fdc3021b
Provide godoc examples for using the api
Closes #194

Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
2019-08-07 20:53:38 -06:00
Björn Rabenstein 170205fb58
Merge pull request #629 from prometheus/beorn7/release
Cut 1.1.0
2019-08-01 15:37:03 +02:00
beorn7 8b8fbc929b Cut 1.1.0
Signed-off-by: beorn7 <beorn@grafana.com>
2019-08-01 14:23:24 +02:00
beorn7 2bb70fc592 Update Go modules
Signed-off-by: beorn7 <beorn@grafana.com>
2019-08-01 14:17:16 +02:00
Björn Rabenstein c0dfcd145f
Merge pull request #628 from tariq1890/docker
add minor Dockerfile improvements
2019-07-31 18:24:48 +02:00
Tariq Ibrahim 8977247c4e
add minor Dockerfile improvements
Signed-off-by: Tariq Ibrahim <tariq181290@gmail.com>
2019-07-31 09:13:29 -07:00
Björn Rabenstein 8bb84c10f1
Merge pull request #627 from prometheus/beorn7/modules
Update .gitignore
2019-07-30 23:26:25 +02:00
beorn7 5d286d7120 Update .gitignore
Inspired by
https://github.com/prometheus/common/pull/202

Signed-off-by: beorn7 <beorn@grafana.com>
2019-07-30 23:07:13 +02:00
Björn Rabenstein bb9b00a86e
Merge pull request #624 from prometheus/beorn/push
Support new base64 encoding for pushing to the Pushgateway
2019-07-22 21:57:04 +02:00
beorn7 4b95c4ab42 Support new base64 encoding for pushing to the Pushgateway
This should only be released after PGW 0.9 is released.

Signed-off-by: beorn7 <beorn@grafana.com>
2019-07-22 20:31:37 +02:00
Björn Rabenstein c0d684b8af
Merge pull request #623 from prometheus/makefile_common
Synchronize Makefile.common from prometheus/prometheus
2019-07-22 15:54:13 +02:00
beorn7 5322984bff Merge branch 'beorn7/ci' into makefile_common 2019-07-22 15:47:39 +02:00
beorn7 6bcb2c8adf Make lint only run on 1.11 and higher
Signed-off-by: beorn7 <beorn@grafana.com>
2019-07-22 15:45:59 +02:00
prombot 5b37794e6b makefile: update Makefile.common with newer version
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2019-07-20 00:01:36 +00:00
Björn Rabenstein ff1d4e21c1
Merge pull request #619 from jacksontj/time_formatting
Handle formatting when the time in nanoseconds requires more than a single int64
2019-07-09 22:55:12 +02:00
Thomas Jackson cd27091e79 Handle formatting when the time in nanoseconds requires more than a single int64
Signed-off-by: Thomas Jackson <jacksontj.89@gmail.com>

Fixup for #617
2019-07-09 09:23:52 -07:00
Björn Rabenstein b4cb89acd2
Merge pull request #617 from jacksontj/time_formatting
Change all time formatting to UTC and off of time.RFC3339Nano
2019-07-09 17:52:25 +02:00
Thomas Jackson 9b5568b9ab Pass all precision instead of artificially limiting
Signed-off-by: Thomas Jackson <jacksontj.89@gmail.com>
2019-07-09 07:31:37 -07:00
Thomas Jackson c52580de2b Change all time formatting to UTC and off of time.RFC3339Nano
Prometheus has issues parsing RFC3339Nano timestamps if the year has more than 4 digits, in addition it is the second-pass parse attempt. Since this is a client library and the interface is a `time.Time` it makes sense that we pick the clearest simplest format-- so I propose we use the `model.Time` representation of time in our communications to prometheus. This (1) removes the issues with timezones in those queries going downstream and (2) completely works around this #614 issue as the parsing mechanism in prometheus can handle those times in this format.

Related to #614

Signed-off-by: Thomas Jackson <jacksontj.89@gmail.com>
2019-07-09 07:31:37 -07:00
Björn Rabenstein a6c69798cc
Merge pull request #613 from prometheus/beorn7/push
Add Delete method to Pusher
2019-06-28 18:29:03 +02:00
beorn7 48cd700822 Use method constants from the http package
Signed-off-by: beorn7 <beorn@grafana.com>
2019-06-28 15:23:00 +02:00
beorn7 9a1440d469 Add Delete method
Fixes #611.

Signed-off-by: beorn7 <beorn@grafana.com>
2019-06-28 15:12:09 +02:00
Björn Rabenstein f1c4042316
Merge pull request #612 from prometheus/makefile_common
Synchronize Makefile.common from prometheus/prometheus
2019-06-26 11:56:01 +02:00
prombot 4ea8112816 makefile: update Makefile.common with newer version
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2019-06-26 00:01:19 +00:00
Björn Rabenstein 7c68e7286a
Merge pull request #610 from prometheus/makefile_common
Synchronize Makefile.common from prometheus/prometheus
2019-06-23 13:56:59 +02:00
prombot 54b5b0a177 makefile: update Makefile.common with newer version
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2019-06-23 00:00:52 +00:00
Thomas Jackson 3d8379da8f Add Warnings to LabelValues and LabelNames (#609)
Signed-off-by: Thomas Jackson <jacksontj.89@gmail.com>
2019-06-17 21:27:57 +03:00
Björn Rabenstein 4ab88e80c2
Merge pull request #608 from prometheus/beorn7/release
Cut release v1.0.0
2019-06-15 22:44:27 +02:00
beorn7 505041cff1 Cut release v1.0.0
Signed-off-by: beorn7 <beorn@grafana.com>
2019-06-14 23:54:28 +02:00
Thomas Jackson 063470a3c9 Add warnings to series (#603)
Signed-off-by: Thomas Jackson <jacksontj.89@gmail.com>
2019-06-15 00:28:28 +03:00
Björn Rabenstein 6636dde4bc
Merge pull request #607 from prometheus/beorn7/wrap
Make the AlreadyRegisteredError useful for wrapped registries
2019-06-14 18:35:23 +02:00
beorn7 2f3a0f8f2e Make the AlreadyRegisteredError useful for wrapped registries
Signed-off-by: beorn7 <beorn@grafana.com>
2019-06-14 17:55:35 +02:00
Thomas Jackson f213ad9bfc Add /labels API to client (#604)
API ref https://prometheus.io/docs/prometheus/latest/querying/api/#getting-label-names

Signed-off-by: Thomas Jackson <jacksontj.89@gmail.com>
2019-06-14 16:49:58 +02:00
Björn Rabenstein 92d8f4a558
Merge pull request #601 from prometheus/makefile_common
Synchronize Makefile.common from prometheus/prometheus
2019-06-14 13:00:47 +02:00
Björn Rabenstein 040c98c8e6
Merge pull request #606 from prometheus/beorn7/doc
Update doc comment of NewProcessCollector
2019-06-14 12:44:49 +02:00
beorn7 f61dbeaded Update doc comment of NewProcessCollector
- Now also works on MS Windows.
- The hints for updating from older versions is obsolete by now.

Signed-off-by: beorn7 <beorn@grafana.com>
2019-06-14 12:33:52 +02:00
Calle Pettersson c5f4190338 Implement process collector for Windows (#596)
* Implement process collector for Windows

Signed-off-by: Calle Pettersson <calle@cape.nu>
2019-06-14 12:26:55 +02:00
prombot 6fdbbd8882 makefile: update Makefile.common with newer version
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2019-06-14 00:01:17 +00:00
Thomas Jackson 1335ef46bd Pass warnings through on non-error responses (#599)
Return warnings as a separate string slice to simplify handling.

Signed-off-by: Thomas Jackson <jacksontj.89@gmail.com>
2019-06-14 01:40:59 +02:00
beorn7 e7f6132a76 Remove work duplication in doc comment
Signed-off-by: beorn7 <beorn@grafana.com>
2019-06-12 01:46:17 +02:00
Björn Rabenstein dae2ffdedc
Merge pull request #600 from prometheus/beorn7/deprecation
Remove all deprecated features
2019-06-11 17:08:54 +02:00
beorn7 761a2ff07c Remove all deprecated features
This is in preparation of the upcoming v1 release.

Signed-off-by: beorn7 <beorn@grafana.com>
2019-06-11 16:28:47 +02:00
Björn Rabenstein 2e1bc8f8ec
Merge pull request #597 from prometheus/makefile_common
Synchronize Makefile.common from prometheus/prometheus
2019-06-09 00:58:26 +02:00
Björn Rabenstein 2641b98748
Merge pull request #598 from prometheus/beorn7/release
Cut v0.9.4
2019-06-07 16:56:44 +02:00
beorn7 b76fdd6b6a Cut v0.9.4
Signed-off-by: beorn7 <beorn@grafana.com>
2019-06-07 12:45:06 +02:00
Björn Rabenstein b8b56b52bd
Merge pull request #595 from prometheus/beorn7/go-collector
Add a simple buildInfoCollector
2019-06-07 10:33:13 +02:00
prombot 8d595571fe makefile: update Makefile.common with newer version
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2019-06-07 00:01:38 +00:00
beorn7 8576729b6f Add a simple buildInfoCollector
Signed-off-by: beorn7 <beorn@grafana.com>
2019-06-06 22:24:23 +02:00