juliusv
169a7dc26c
Merge pull request #189 from prometheus/feature/build-info-and-startup-friendliness
...
Build info and startup friendliness
2013-04-26 05:45:34 -07:00
juliusv
348b527f89
Merge pull request #194 from prometheus/julius-alert-tracking
...
Track alerts over time and write out alert timeseries.
2013-04-26 05:40:36 -07:00
Julius Volz
2202cd71c9
Track alerts over time and write out alert timeseries.
2013-04-26 14:35:21 +02:00
Bernerd Schaefer
cf3e6ae084
Add LabelSet helper to fix go 1.0.3 build
2013-04-26 14:27:42 +02:00
juliusv
584b93f92c
Merge pull request #182 from prometheus/julius-fix-up
...
Add instance label to health (up) timeseries.
2013-04-26 03:50:36 -07:00
Bernerd Schaefer
dfd5c9ce28
Refactor processor for 0.0.2 schema
...
Primary changes:
* Strictly typed unmarshalling of metric values
* Schema types are contained by the processor (no "type entity002")
Minor changes:
* Added ProcessorFunc type for expressing processors as simple
functions.
* Added non-destructive `Merge` method to `model.LabelSet`
2013-04-26 11:52:26 +02:00
Bernerd Schaefer
7c3e04c546
Add version 0.0.2 processor
2013-04-25 17:37:16 +02:00
Bernerd Schaefer
2fd9b8180d
Add license header to build_info.go
2013-04-25 16:14:58 +02:00
Bernerd Schaefer
76731c80c6
Use Content-Type data for telemetry versioning
...
ProcessorForRequestHeader now looks first for a header like
`Content-Type: application/json; schema="prometheus/telemetry";
version="0.0.1"` before falling back to checking
`X-Prometheus-API-Version`.
2013-04-25 16:05:37 +02:00
Bernerd Schaefer
378e494433
Date format for build info doesn't include spaces
...
go 1.0.3 doesn't support spaces in -X linker options.
2013-04-25 15:07:35 +02:00
Matt T. Proud
d46f2fd549
Merge pull request #187 from prometheus/fix/goroutine-leak
...
Have goroutine exit on signal via defer block.
2013-04-25 05:12:09 -07:00
Johannes 'fish' Ziemke
1ad41d4c00
Call closer.Close() earlier.
2013-04-25 13:29:28 +02:00
Johannes 'fish' Ziemke
22da76e8ab
Close of reportTicker to exit goroutine.
2013-04-25 13:29:22 +02:00
Bernerd Schaefer
9dde9302a8
Explicitly include domain info in build hostname
2013-04-25 13:19:35 +02:00
Bernerd Schaefer
c152aa514f
Always print version information when starting up
2013-04-25 13:14:50 +02:00
Bernerd Schaefer
19fc094362
Merge pull request #191 from prometheus/update-gitignore-files
...
Ignore web/static/generated and build/root/share
2013-04-25 03:59:04 -07:00
Bernerd Schaefer
daab293210
Merge pull request #190 from prometheus/fix/web-makefile-build-failure
...
Move `-f` option to `cp` to command start
2013-04-25 03:50:40 -07:00
Bernerd Schaefer
169ed9d297
Ignore web/static/generated and build/root/share
2013-04-25 12:33:27 +02:00
Bernerd Schaefer
4faf16787d
Move -f
option to cp
to command start
...
`cp file -f file` fails on OS X.
2013-04-25 12:25:01 +02:00
Matt T. Proud
3c8873ce1f
Merge pull request #188 from prometheus/fix/tests/platform-compatibility
...
Fix positional flags for ``cp`` on Darwin.
2013-04-25 03:21:46 -07:00
Matt T. Proud
961ff26874
Fix positional flags for `cp
` on Darwin.
...
Unfortunately ``cp`` on Darwin regards some flags as positional and
requires them to be in a specific place. The new Protocol Buffer
descriptor bundling fails on Mac OS.
2013-04-25 12:16:51 +02:00
Johannes 'fish' Ziemke
5043c6fce7
Have goroutine exit on signal via defer block.
2013-04-25 12:14:38 +02:00
Bernerd Schaefer
45243ac2da
Print flags on status page.
2013-04-25 12:12:05 +02:00
Bernerd Schaefer
862054e88b
web.StartServing prints listening address
2013-04-25 11:59:39 +02:00
Bernerd Schaefer
a2a4f94aae
StatusHandler renders build info
2013-04-25 11:57:08 +02:00
Bernerd Schaefer
033533c4c5
Capture build information and print with -version
2013-04-25 11:47:48 +02:00
Julius Volz
d4ff85db5a
Add instance label to health (up) timeseries.
2013-04-24 21:50:49 +02:00
Matt T. Proud
3ff916d209
Merge pull request #179 from prometheus/feature/protocol-buffer-descriptor-inclusion
...
Include generated Protocol Buffer descriptor.
2013-04-24 10:54:43 -07:00
Johannes 'fish' Ziemke
1f96d4c822
Move protobuf descriptor and add content-type.
...
- move to static/generated
- set content-type based on extension '.description'
2013-04-24 18:51:07 +02:00
Matt T. Proud
9e02c2393a
Include generated Protocol Buffer descriptor.
...
The Protocol Buffer compiler supports generating a machine-readable
descriptor file encoded as a provided Protocol Buffer message type,
which can be used to decode messages that have been encoded with it
after-the-fact. The generated descriptor also bundles in dependent
message types.
We can use this to perform forensics on old Prometheus clients, if
necessary.
2013-04-24 16:59:40 +02:00
juliusv
af7ddc36e2
Merge pull request #176 from prometheus/optimization/view-materialization/slice-chunking
...
Truncate irrelevant chunk values.
2013-04-24 05:19:54 -07:00
Julius Volz
9b8c671ec9
Fixes/cleanups to renderView() samples truncation.
2013-04-24 12:42:58 +02:00
Matt T. Proud
a3f04ed272
Merge pull request #177 from prometheus/refactor/time/everything-in-utc
...
Convert time readers to represent time in UTC.
2013-04-24 03:33:36 -07:00
Matt T. Proud
e86f4d9dfd
Convert time readers to represent time in UTC.
...
Go's time.Time represents time as UTC in its fundamental data type.
That said, when using ``time.Unix(...)``, it sets the zone for the
time representation to the local. Unfortunately with diagnosis and
our tests, it is a PITA to jump between various zones, even though
the serialized version remains the same.
To keep things easy, all places where times are generated or read
are converted into UTC. These conversions are cheap, for
``Time.In`` merely changes a pointer reference in the struct,
nothing more. This enables me to diagnose test failures with fixture
data very easily.
2013-04-24 12:19:41 +02:00
Matt T. Proud
05504d3642
WIP - Truncate irrelevant chunk values.
...
This does not work with the view tests.
2013-04-24 11:07:22 +02:00
Matt T. Proud
5f773cc332
Merge pull request #175 from prometheus/refactor/tests/affix-timezone
...
Convert the TestInstant value into UTC.
2013-04-23 10:03:54 -07:00
Matt T. Proud
a32602140e
Convert the TestInstant value into UTC.
...
For the forthcoming Curator, we don't record timezone information in
the samples, nor do we in the curation remarks. All times are
recorded UTC. That said, for the test environment to better match
production, the special instant should be in UTC.
2013-04-23 18:58:39 +02:00
juliusv
2627bfd8ef
Merge pull request #174 from prometheus/julius-alerting
...
Implement initial no-op alert parsing and rule parsing tests.
2013-04-23 06:00:12 -07:00
Julius Volz
c0601abf46
Implement initial no-op alert parsing and rule parsing tests.
2013-04-23 13:48:24 +02:00
Johannes 'fish' Ziemke
955708e8db
Merge pull request #158 from prometheus/feature/auto-refresh
...
Add per graph auto-refresh option to web UI.
2013-04-22 05:10:17 -07:00
Matt T. Proud
8a17ee843d
Merge pull request #170 from prometheus/refactor/readability/business-logic-types
...
Extract dto.SampleValueSeries into model.Values.
2013-04-22 04:38:15 -07:00
juliusv
d65353fc1b
Merge pull request #171 from prometheus/julius-fix-debug
...
Register pprof /debug endpoints with custom HTTP mux.
2013-04-22 04:33:09 -07:00
Matt T. Proud
b1a8e51b07
Extract dto.SampleValueSeries into model.Values.
2013-04-22 13:31:11 +02:00
Julius Volz
a2623efcdf
Register pprof /debug endpoints with custom HTTP mux.
2013-04-22 13:21:24 +02:00
Johannes 'fish' Ziemke
712bf5e2f9
Add per graph auto-refresh option to web UI.
...
This adds a drop-down menu to select/disable a auto-refresh interval.
2013-04-22 11:42:23 +02:00
juliusv
e4e6e9a6f5
Merge pull request #167 from prometheus/refactor/tests/trailing-types
...
Convert trailing float64s.
2013-04-21 12:09:02 -07:00
Matt T. Proud
422003da8e
Convert trailing float64s.
2013-04-21 20:52:21 +02:00
Matt T. Proud
cbcaef0018
Merge pull request #166 from prometheus/refactor/readability/business-logic-types
...
Wrap dto.SampleKey with business logic type.
2013-04-21 11:41:37 -07:00
Matt T. Proud
db4ffbb262
Wrap dto.SampleKey with business logic type.
...
The curator work can be done easier if dto.SampleKey is no longer
directly accessed but rather has a higher level type around it that
captures a certain modicum of business logic. This doesn't look
terribly interesting today, but it will get more so.
2013-04-21 20:38:39 +02:00
Matt T. Proud
6ed97fbe8a
Merge pull request #165 from prometheus/fix/testing/stochastic
...
Stochastic test support plural SampleValueSeries.
2013-04-21 11:38:13 -07:00