Commit Graph
17 Commits
Author SHA1 Message Date
Ivan Babrou 9a4ae30227 Enable dualstack in every net.Dialer, fixes #9364
Default transport enables it:

* https://github.com/golang/go/blob/d2826d3e06/src/net/http/transport.go#L42-L46

```
    DialContext: (&net.Dialer{
	Timeout:   30 * time.Second,
	KeepAlive: 30 * time.Second,
	DualStack: true,
    }).DialContext,
```

See also: https://github.com/golang/go/issues/15324
2017-09-27 22:29:48 -07:00
Ivan Babrou fb163450a5 Change prometheus semantics from step to min step (#8073)
Previously `Step` parameter would set a hard value for any zoom level.

Now it's renamed to `Min step` and sets the minimal value of `step` parameter
to Prometheus query. User would usually want to set it to the scraping interval
of the target metric to avoid having shap cliffs on graphs and extra load
on Prometheus. Actual `step` value is calculated as the minimum of automatically
selected step (based on zoom level) and user provided minimal step. If user
did not provide the step, then automatic value is used as is.

Example bahavior for `60s` scrape intervals:

* `5s` automatic interval, no user specified min step:
  * Before: `step=5`
  * After: `step=5`
* `5s` automatic interval, `1m` user specified min step:
  * Before: `step=5`
  * After: `step=60`
* `5m` automatic interval, `1m` user specified min step:
  * Before: `step=60` (not really visible, too dense)
  * After: `step=300` (automatic value is picked)

See:

* https://github.com/grafana/grafana/issues/8065
* https://github.com/prometheus/prometheus/issues/2564
2017-04-14 14:51:22 +02:00
Ivan Babrou f4ad673b6d Show relevant tag name suggestions for OpenTSDB, closes #3610 2016-02-04 10:57:19 +00:00
Ivan Babrou bbfdbaf952 Support OpenTSDB 2.2 fill policies, closes #3802 2016-01-21 16:38:46 +00:00
Ivan Babrou 0dc0e03c4c Add suggest_tagk() and suggest_tagv() to OpenTSDB datasource (#2840) 2015-10-04 12:54:43 +01:00
Ian Babrou 0198167b27 checking for new version over https 2014-08-14 14:13:03 +04:00
Ian Babrou e3b046aecf fixed annoying undefined length error 2014-03-31 18:53:43 +04:00
Ian Babrou 046f80b9f2 Fixed installation instructions for config.js
Because you cannot edit the file which does not even exist.
2014-03-31 18:22:55 +04:00
Ian Babrou 82f5ef436f removed typos 2013-12-19 13:34:37 +04:00
Ian Babrou f5e0f0255d fixed numeric terms in topN query 2013-11-07 14:06:21 +04:00
Ian Babrou 7c74cb8307 do not auto-enable saved filters 2013-11-06 15:37:14 +04:00
Ian Babrou b6b81ec833 do not show empty load/save dropdowns 2013-10-29 12:41:28 +04:00
Ian Babrou 7ffb483f97 consistent top and bottom margins 2013-10-29 12:23:09 +04:00
bobrik b7c1c5072f better-looking histogram checkboxes 2013-09-20 14:57:35 +04:00
bobrik 7f0bcd7761 Dashboard loader filter applied after dropdown show 2013-09-15 12:47:12 +04:00
bobrik fc069a0458 Fixed default color on dashboard load 2013-09-15 12:43:25 +04:00
bobrik a2deecd134 Removed extra ">" in tooltip 2013-09-02 13:02:59 +04:00