Brian Brazil
a09d896cbf
Do a make format run
9 years ago
Fabian Reinartz
d6d88f8950
Add missing license headers
9 years ago
Brian Brazil
fb585e4591
promql: Remove interpolation of vector values.
...
The current behaviour produces values that are not
from rules or scrapes. So if for example I have
a boolean 0/1 it can be returned as 0.2344589. This
prevents a number of advanced use cases, introduces
race conditions and can produce misleading graphs.
9 years ago
Brian Brazil
9cf123d2f0
Merge pull request #1020 from prometheus/alert-templates-type
...
Cast value to float, as that's what the console templates expect.
9 years ago
Brian Brazil
fdf0d0642e
Cast value to float, as that's what the console templates expect.
9 years ago
Julius Volz
25a8bd50a5
Merge pull request #1024 from prometheus/fix-updatetargets-busyloop
...
Fix busylooping in case of no target providers.
9 years ago
Julius Volz
d36a7f4e6f
Fix busylooping in case of no target providers.
...
merge() closes the channel that handleUpdates() reads from when there
are zero configured target providers in the configuration. In that case,
the for-select loop in handleUpdates() entered a busy loop. It should
exit when the upstream channel is closed.
9 years ago
Fabian Reinartz
8769a75183
Merge pull request #1023 from prometheus/model
...
More type cleanup
9 years ago
Fabian Reinartz
1535ef1457
Replace metric.SamplePair with model.SamplePair
9 years ago
Fabian Reinartz
c9d396f476
Replace metric.LabelPair with model.LabelPair
9 years ago
Fabian Reinartz
3a0145c09e
Reenable blocked appending tests
9 years ago
Fabian Reinartz
438e232c9b
Fix grouping of import blocks
9 years ago
Fabian Reinartz
6d0f58dcf3
sanitize scrape health recording code
9 years ago
Fabian Reinartz
1a7f701359
Merge pull request #1018 from prometheus/fabxc/model
...
Switch to common/{model,expfmt}
9 years ago
Fabian Reinartz
25bf5fdaf5
Timeout sample appends
9 years ago
Fabian Reinartz
47aa0d536c
Use common/expfmt in federation
9 years ago
Fabian Reinartz
11a577fcd0
Switch to common/expfmt for extraction
9 years ago
Fabian Reinartz
f237b0e2da
Vendor common/expfmt package
9 years ago
Fabian Reinartz
306e8468a0
Switch from client_golang/model to common/model
9 years ago
Fabian Reinartz
7a6d12a44c
Vendor common/model package
9 years ago
Julius Volz
a7c248e3b1
Merge pull request #1017 from prometheus/crash-on-web-error
...
Exit when web server encounters a startup error
9 years ago
Brian Brazil
725a507206
Merge pull request #1019 from mrwacky42/add-consul-service-id
...
Add Consul ServiceID to the discovery meta labels.
9 years ago
Sharif Nassar
6cb519fe82
Add Consul ServiceID to the discovery meta labels.
9 years ago
Julius Volz
274e9d6955
Exit when web server encounters a startup error
9 years ago
Fabian Reinartz
ac0be60bb9
Add license headers
9 years ago
Brian Brazil
296f551418
Merge pull request #1014 from prometheus/scalar-rules
...
rules: Allow recorded rules expressions to be scalars.
9 years ago
Brian Brazil
e6a67476c2
rules: Allow recorded rules expressions to be scalars.
...
This is useful if you want to build up a constant metric,
such as a set of alert thresholds that vary by label value.
9 years ago
Fabian Reinartz
6a713eedca
Merge pull request #1012 from laushinka/master
...
Log runtime errors during query evaluation instead of panicking.
9 years ago
Laurie Malau
cdf38ab93a
Log runtime errors during query evaluation instead of panicking.
9 years ago
Fabian Reinartz
b615efbf21
Merge pull request #1011 from prometheus/fabxc/travis
...
simplify travis
9 years ago
Fabian Reinartz
863bbd2be4
simplify travis
9 years ago
Julius Volz
2b0c153288
Merge pull request #998 from prometheus/label-replace
...
Implement label_replace().
9 years ago
Julius Volz
832ae147e0
Merge pull request #1000 from prometheus/remove-silencing-link
...
Remove broken alert silencing links.
9 years ago
Julius Volz
e88007306c
Remove broken alert silencing links.
...
Let's remove the silencing links until we actually have support for that.
A silencing link shouldn't only redirect to Alertmanager, but also open a
silencing dialog for the respective alert name or active alert element.
9 years ago
Fabian Reinartz
0f5022c091
Add missing Kubernetes doc strings
9 years ago
Julius Volz
27ed874358
Implement label_replace()
...
Implements part of https://github.com/prometheus/prometheus/issues/959 .
9 years ago
Fabian Reinartz
205d391409
Merge pull request #999 from prometheus/fabxc/spinfix
...
Only exit static target provider on done
9 years ago
Fabian Reinartz
f592740bac
Only exit static target provider on done
9 years ago
Julius Volz
b4adf2723d
Merge pull request #994 from robbiet480/consul-datacenter-name
...
Pass through current agent Consul datacenter name
9 years ago
Robbie Trencheny
48e461f7db
Pass through current agent Consul datacenter name
...
Instead of only filling __meta_consul_dc when datacenter is set in
consul_sd_config this change fills the label based on what the agent
reports it's current data center is, if datacenter isn't manually set,
otherwise it uses whatever datacenter was set to.
9 years ago
Fabian Reinartz
d0a90964c1
Fix license header
9 years ago
Fabian Reinartz
eabbdc6603
Add missing license headers
9 years ago
Julius Volz
47a96bff1a
Update constant names in comments.
9 years ago
Julius Volz
f65ef1ed10
Fix wording in shutdown warning.
9 years ago
Fabian Reinartz
79eb208d0f
Merge pull request #995 from prometheus/relabel-replace
...
retrieval: Don't include unmatched source of regex in replacement.
9 years ago
Brian Brazil
e1d5eb52f2
retrieval: Don't include unmatched source of regex in replacement.
...
ReplaceAllString only replaces the matching part of the regex,
the unmatched bits around it are left in place. This is not the
expected or desired behaviour as the replacement string should
be everything.
This may break users dependant on this behaviour, but
what they're doing is still possible.
9 years ago
Brian Brazil
60967736fa
Merge pull request #993 from prometheus/fabxc/filesd_interval
...
Increase default retry interval for file SD
9 years ago
Fabian Reinartz
139f27bf8a
Increase default retry interval for file SD
...
The automatic refresh is a safety mechanism in case
file watches fail. As they seem to be working well the
interval can be increased.
9 years ago
Fabian Reinartz
4ee88017f3
Merge pull request #992 from prometheus/term-docs
...
Storage: Tell users how to avoid crash recovery.
9 years ago
Brian Brazil
0ec71442cd
Storage: Tell users how to avoid crash recovery.
...
If users see the crash recovery error, the chances are
they aren't shutting down Prometheus correctly. Telling
them how to do so will help them debug and fix the problem.
9 years ago