Tom Wilkie
21ee72a384
Add OpenTracing support to TimeRequestHistogram ( #2023 )
...
* Vendor open tracing
* Extend TimeRequestHistorgram to also emit opentracing spans.
* Update some of the labels
2016-11-22 14:43:15 +00:00
Mike Lang
f9df493e44
Merge pull request #1971 from weaveworks/mike/errorhandler/implement-hijack
...
middleware/errorhandler: Implement Hijacker so it works with ws proxy
2016-11-10 14:39:06 -08:00
Mike Lang
7155292765
middleware: Update references in comments to why Hijacker is needed
2016-11-07 11:52:19 -08:00
Alfonso Acosta
3ba83ddd53
Merge pull request #1973 from weaveworks/1938-enrich-weave-details-panel
...
Extend metadata in details panel for Weave Net nodes
2016-11-04 09:44:27 +01:00
Alfonso Acosta
0884955c95
Extend metadata in details panel for Weave Net nodes
2016-11-03 15:57:23 +00:00
Simon
7e5166e45e
Merge pull request #1966 from weaveworks/746-resize-ttys
...
Resize TTYs
2016-11-03 11:06:16 +01:00
Mike Lang
35cf10e1d6
middleware/errorhandler: Implement Hijacker so it works with ws proxy
2016-11-02 14:50:13 -07:00
Mike Lang
96058b1137
Merge pull request #1958 from weaveworks/mike/middleware/errorhandler
...
middleware/errorhandler: Fix a bug which meant it never works
2016-10-31 08:33:08 -07:00
Alfonso Acosta
253657887c
Implement TTY resize for hosts
2016-10-31 12:11:25 +00:00
Alfonso Acosta
2443f7a3c5
Implement resize control for docker TTYs
2016-10-31 11:04:40 +01:00
Alfonso Acosta
37ba071feb
Allow passing arguments to controls
2016-10-31 11:04:40 +01:00
Alfonso Acosta
c2f2a90b61
Implement App endpoint /pipe/{id}/resize_tty/{height}/{width} to resize ttys
2016-10-31 11:04:39 +01:00
Alfonso Acosta
b458c4c0c8
Merge pull request #1182 from weaveworks/1132-weave-topology
...
Add the basics for a Weave-specific topology.
2016-10-28 12:23:55 +02:00
Alfonso Acosta
b6b343cbfd
Review feedback
2016-10-28 08:58:45 +00:00
Mike Lang
6173e543c8
middleware/errorhandler: Fix a bug which meant it never works
...
Because methods operated on the value, not the reference, their changes
were discarded.
2016-10-27 17:08:42 -07:00
Mike Lang
0967bccaa2
appease linter
2016-10-26 13:48:10 -07:00
Alfonso Acosta
f906511ded
Add initial metadata in details panel and clarification comments
2016-10-26 09:09:01 +00:00
Mike Lang
7f528d1a78
middleware: Add an ErrorHandler middleware used to serve an alternate handler on a certain error code
2016-10-25 17:50:39 -07:00
Alfonso Acosta
8e4dfd7987
Add Weave peers view
2016-10-24 15:33:30 +00:00
Tom Wilkie
727404c9b8
Extend logging middleware to optionally only log failed HTTP requests ( #1909 )
...
* Extend logging middleware to optionally only log failed HTTP requests
* Add a preconfigured logger for logging failed requests, use it in the app.
* Wide definition of success
2016-10-07 18:03:36 -07:00
Tom Wilkie
39be421141
Allow a nil RouteMatcher in instrumentation ( #1852 )
...
So the instrumentation can be used for things other than gorilla.
2016-09-05 15:49:20 +01:00
Matthias Radestock
6d9194cfaf
treat EOF and ErrClosedPipe in websocket connections as uninteresting
...
both occur in various states of disconnectedness
2016-08-05 23:32:34 +01:00
Matthias Radestock
25011f20e0
silence websocket.CloseAbnormalClose
...
We get this when windows are closed, so really should treat it just
like any other close.
2016-08-05 19:07:03 +01:00
Alfonso Acosta
2132528823
Merge pull request #1720 from weaveworks/reduce-gc
...
Improve performance of immutable maps
2016-07-26 13:28:03 +01:00
Jonathan Lange
cd716d3510
Delete unused instrumentation code
2016-07-26 12:27:50 +01:00
Alfonso Acosta
ecc8a3138f
Replace github.com/mndrix/ps by github.com/weaveworks/ps
2016-07-26 10:35:55 +00:00
Tom Wilkie
3173f6ad75
Use histograms over summaries
2016-07-12 11:15:57 +01:00
Paul Bellamy
7736564337
refactor some timing helpers into a common lib
2016-07-05 12:29:00 +01:00
Julius Volz
4fa40e22b2
Rework Scope metrics according to Prometheus conventions. ( #1615 )
...
* Rework Scope metrics according to Prometheus conventions.
- counters should end with _total
- elaborated and added units to help strings
- recommended for cache hit/miss metrics: track only the total and the
hits and in separate metrics, since the most common query will be
"hits / total"
- track all times in seconds (base units), which has become the standard
recommendation
- other small changes
There could be more changes that would require more thinking (what
dimensions to use, summaries vs. histograms, etc.), but this is probably
enough controversial material already :)
* Use timeRequestStatus() in sqs_control_router.go.
2016-06-30 09:12:25 +01:00
Tom Wilkie
ab3d34be01
Make it easier to disable weave integrations ( #1610 )
...
* Make it easier to disable weave integrations
* Review feedback
* Make test pass
2016-06-27 16:11:57 +01:00
Jonathan Lange
39c9de8e2a
Get route name before munging request
...
This ought to correct a problem where we incorrectly report route names
for admin routes
2016-06-15 16:06:19 +01:00
Alfonso Acosta
80f72638ce
Add Indentity middleware
2016-06-09 14:30:53 +00:00
Tom Wilkie
982189161b
If we don't get a path name from the router, make one up from the url. ( #1570 )
...
* If we don't get a path name from the router, make one up from the url.
* Think about route naming a little more and add a comment to show it.
2016-06-09 12:48:22 +01:00
Alfonso Acosta
bbf55922d0
Merge pull request #1564 from weaveworks/probe-version-header
...
Add probe version header to probe requests
2016-06-08 15:34:34 +01:00
Alfonso Acosta
a6f8b0a0c6
Add probe version header to probe requests
2016-06-08 13:49:21 +00:00
Alfonso Acosta
116943f184
Rewrite net/http.Request.{URL.Path,RequestURI} consistently
2016-06-08 08:50:06 +00:00
Tom Wilkie
8d092c37e7
Also rewrite r.URL.Path, as gorilla mux reads this.
2016-05-23 16:18:24 +01:00
Tom Wilkie
3335361ae9
Include label in prom metric to distinguish ws connection latencies.
2016-05-23 15:02:41 +01:00
Tom Wilkie
5079a9eba4
Only log first http header.
2016-05-23 14:02:52 +01:00
Tom Wilkie
7631116ff5
Add explicity PathReplace middleware ( #1393 )
2016-04-28 12:28:44 +01:00
Tom Wilkie
e81b1b98e9
Add generic path rewrite middleware
...
And fix a bug in the logging middleware.
2016-04-26 14:43:48 +01:00
Paul Bellamy
1539e668e7
Merge pull request #1290 from weaveworks/remove-container-control
...
Add control for removing stopped docker containers.
2016-04-22 14:13:40 +01:00
Tom Wilkie
901f46c5fc
Report if newer version are availible in /api ( #1366 )
...
* Report if newer version are availible in /api
* Render version update hint in UI, next to version
* Fix lint
2016-04-22 10:25:00 +01:00
David Kaltschmidt
62ed88cf16
Close details panel when node was removed via control
2016-04-21 18:34:51 +02:00
Tom Wilkie
ed555b6780
Add 'closeDetails' field to control responses.
2016-04-21 16:40:21 +01:00
Paul Bellamy
7090855f9e
Add local_networks to weave Overlay nodes, so we can track weave without an exposed weave ip ( #1313 )
2016-04-15 16:23:15 +01:00
Paul Bellamy
16c497d30a
ditch plugin handshake endpoint
2016-04-12 17:22:39 +01:00
Paul Bellamy
333d32fbe5
Review Feedback
2016-04-12 17:22:38 +01:00
Paul Bellamy
fcfd42e5d5
Review feedback - adding plugin status field
2016-04-12 17:22:38 +01:00
Paul Bellamy
7632e0b3c5
Adding support for plugins, with basic example of iowait, and ebpf
...
Squash of:
* Include plugins in the report
* show plugin list in the UI
* moving metric and metadata templates into the probe reports
* update js for prime -> priority
* added retry to plugin handshake
* added iowait plugin
* review feedback
* plugin documentation
2016-04-12 17:22:14 +01:00