Goutham Veeramachaneni
243419c007
Return tsdb.ErrOutOfBounds as storage.ErrOutOfBounds
...
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
7 years ago
Fabian Reinartz
be990c0287
Merge pull request #2907 from Gouthamve/log-tm
...
Log the stopping of TargetManager in Info
7 years ago
Goutham Veeramachaneni
a607873ad2
Log the stopping of TargetManager in Info
...
Fixes #2715
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
7 years ago
Fabian Reinartz
8a2850b5e1
vendor: add missing app engine dependencies
7 years ago
Fabian Reinartz
e58e7954a7
Merge pull request #2904 from Gouthamve/srclbl-omitempty
...
Make sure rendering config produces valid config
7 years ago
Fabian Reinartz
24e9deac71
Merge pull request #2859 from Gouthamve/docker-nobody
...
Dockerfile: Run as nobody
7 years ago
Fabian Reinartz
ad86c389cb
Merge pull request #2869 from Gouthamve/lblspc
...
parser: Support spaces everywhere
7 years ago
Goutham Veeramachaneni
98d20d5880
Make sure rendering config produces valid config
...
Fixes #2899
Signed-off-by: Goutham Veeramachaneni <goutham@boomerangcommerce.com>
7 years ago
Goutham Veeramachaneni
0e78b7e7c8
parser: support spaces everywhere
...
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
7 years ago
Fabian Reinartz
329992201e
Merge pull request #2897 from Gouthamve/oob-metric
...
Handle scrapes with OutOfBounds metrics better
7 years ago
Fabian Reinartz
3ed4fea58c
Merge pull request #2902 from mattbostock/patch-2
...
Remote queue manager: Fix typo
7 years ago
Matt Bostock
13c6e4a4bc
Remote queue manager: Fix typo
...
Change 'send' to 'sent'.
7 years ago
Alin Sinpalean
38de290d5f
Console graph color scheme support ( #2900 )
...
Add a colorScheme parameter to PromConsole.Graph, to allow using custom colors in console graphs.
7 years ago
Goutham Veeramachaneni
643c5837a0
Stop metrics that are 10mins ahead from now
...
Fixes #2893
Signed-off-by: Goutham Veeramachaneni <goutham@boomerangcommerce.com>
7 years ago
Fabian Reinartz
496c060f98
Merge pull request #2896 from prometheus/filepath
...
config: resolve file SD paths relative to config
7 years ago
Fabian Reinartz
65b087bcc1
config: resolve file SD paths relative to config
7 years ago
Goutham Veeramachaneni
3069bd3996
Handle scrapes with OutOfBounds metrics better
...
fixes #2894
Signed-off-by: Goutham Veeramachaneni <goutham@boomerangcommerce.com>
7 years ago
Fabian Reinartz
426125298e
vendor: update prometheus/tsdb
7 years ago
Fabian Reinartz
3845dfb715
Merge pull request #2875 from prometheus/savemetric
...
Savemetric
7 years ago
Fabian Reinartz
4b70318d11
Merge pull request #2874 from prometheus/memleak
...
retrieval: fix memory leak in scrape cache
8 years ago
Fabian Reinartz
9ea748e745
Don't reallocate label set if still known
...
If the storage deprecates a ref, we have to re-insert with the full
label set. Typically that doesn't correlate with a new series being
created.
We can still use the allocated label set from before.
8 years ago
Fabian Reinartz
2368d2c45b
retrieval: fix memory leak in scrape cache
8 years ago
Fabian Reinartz
ca2b68889b
Merge branch 'master' into dev-2.0
8 years ago
Tobias Schmidt
43075d0215
Merge pull request #2865 from mattbostock/add_marathon_port_ordinal_label
...
Marathon SD: Set port index label
8 years ago
Fabian Reinartz
5cd37fe36f
Merge branch 'nolockfile' into dev-2.0
8 years ago
Fabian Reinartz
cdfd9c829d
Merge pull request #2870 from prometheus/fix-label-display-issue
...
Fix display of before-relabeling labels
8 years ago
Matt Bostock
ab4d64959f
Marathon SD: Set port index label
...
The changes [1][] to Marathon service discovery to support multiple
ports mean that Prometheus now attempts to scrape all ports belonging to
a Marathon service.
You can use port definition or port mapping labels to filter out which
ports to scrape but that requires service owners to update their
Marathon configuration.
To allow for a smoother migration path, add a
`__meta_marathon_port_index` label, whose value is set to the port's
sequential index integer. For example, PORT0 has the value `0`, PORT1
has the value `1`, and so on.
This allows you to support scraping both the first available port (the
previous behaviour) in addition to ports with a `metrics` label.
For example, here's the relabel configuration we might use with
this patch:
- action: keep
source_labels: ['__meta_marathon_port_definition_label_metrics', '__meta_marathon_port_mapping_label_metrics', '__meta_marathon_port_index']
# Keep if port mapping or definition has a 'metrics' label with any
# non-empty value, or if no 'metrics' port label exists but this is the
# service's first available port
regex: ([^;]+;;[^;]+|;[^;]+;[^;]+|;;0)
This assumes that the Marathon API returns the ports in sorted order
(matching PORT0, PORT1, etc), which it appears that it does.
[1]: https://github.com/prometheus/prometheus/pull/2506
8 years ago
Julius Volz
7be94d6643
Fix display of before-relabeling labels
8 years ago
Fabian Reinartz
be32afd6df
cmd/prometheus: add back tsdb.no-lockfile flag
8 years ago
Fabian Reinartz
70f96b0ffb
*: cut v2.0.0-alpha.3
8 years ago
Fabian Reinartz
e69dca6b9c
Merge pull request #2868 from Gouthamve/kingpin-promtool
...
Move promtool to kingpin
8 years ago
Goutham Veeramachaneni
f9202c6511
Move from .yaml to .yml in update rules
...
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
8 years ago
Goutham Veeramachaneni
e3701077c3
Move promtool to kingpin
...
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
8 years ago
Fabian Reinartz
290c6b2383
Merge pull request #2866 from prometheus/kingpin
...
Kingpin instead of Cobra
8 years ago
Fabian Reinartz
867b8d108f
cmd/prometheus: cleanup
8 years ago
Fabian Reinartz
34ab7a885a
cmd/prometheus: switch to kingpin
8 years ago
Fabian Reinartz
8088600202
vendor: add kingpin, drop unused deps
8 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
Alexey Palazhchenko
6a767b736b
Parse custom step parameter correctly. ( #2861 )
...
Fixes #2827 .
8 years ago
Fabian Reinartz
ab1bc9bcdd
Merge pull request #2842 from Gouthamve/rulegroups
...
Rulegroups
8 years ago
Goutham Veeramachaneni
592cb00c2f
Remove version from RuleGroups
...
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
8 years ago
Goutham Veeramachaneni
37e7b69f56
Merge remote-tracking branch 'upstream/dev-2.0' into rulegroups
...
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
8 years ago
Fabian Reinartz
98c2d8477a
Merge pull request #2844 from Gouthamve/cobra
...
Move CLI commander to cobra
8 years ago
Goutham Veeramachaneni
b2f7c8d842
Use user nobody in Dockerfile
...
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
8 years ago
Fabian Reinartz
f46a8e9ea4
Merge pull request #2854 from prometheus/promql-rune
...
Check for invalid utf-8 in lexer strings.
8 years ago
Goutham Veeramachaneni
67dc73fd59
Flag changes for 2.0
...
Fixes : prometheus/prometheus#2087
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
8 years ago
Goutham Veeramachaneni
d407bd150c
Consolidate the duration params in CLI
...
* All CLI params moved to model.Duration
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
8 years ago
Goutham Veeramachaneni
f40a5990a0
vendor: Update common/model
...
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
8 years ago
Brian Brazil
6f5d952132
Check for invalid utf-8 in lexer strings.
...
This protects against invalid utf-8 sneaking
in via label_replace.
8 years ago