Alfonso Acosta
eb4027a97c
Reintroduce probe checkpoint flags for kernel version and OS
...
Removed unintentionally in https://github.com/weaveworks/scope/pull/2148
2017-02-09 17:29:15 +00:00
Mike Lang
dee274e438
Merge pull request #2065 from weaveworks/mike/ecs/caching
...
ECS reporter: Minimize API calls by caching task and service data
2017-01-24 11:03:51 -08:00
Iago López Galeiras
f0d9876258
probe: refactor probeMain
2017-01-23 12:11:35 +01:00
Mike Lang
685af493bf
ecs probe: Allow cache settings to be tweaked
2017-01-12 11:37:23 -08:00
Alfonso Acosta
06ff64d477
Forward OS/Kernel version to checkpoint
...
Useful to prioritize ebpf testing
Also:
* Make treatment of kernel release and version consistent across Darwin/Linux
2016-12-19 20:08:08 +00:00
Mike Lang
7d845f9130
ecs reporter: Review feedback, some trivial renames
2016-12-15 14:11:58 -08:00
Mike Lang
9d1e46f81b
ECS reporter: Use persistent client objects across reports
...
Not only does this allow us to re-use connections, but vitally it allows us
to make use of the new task and service caching within the client object.
2016-12-15 14:11:57 -08:00
Jonathan Lange
e8085b01b6
Use 'common' library
2016-12-07 11:22:38 +00:00
Mike Lang
d0caee4748
Add some basic metadata to the ECS task/service details panels
2016-11-29 07:18:08 -08:00
Alfonso Acosta
ab1d2d2c6d
Add checkpoint flag for ECS
2016-11-29 07:18:08 -08:00
Mike Lang
88499b4e9d
Add --probe.ecs flag to enable running the ECS probe tagger
2016-11-29 07:17:16 -08:00
Alfonso Acosta
0884955c95
Extend metadata in details panel for Weave Net nodes
2016-11-03 15:57:23 +00:00
Tom Wilkie
7d88279758
Add prometheus metrics endpoint to probes. ( #1915 )
2016-10-10 14:30:34 -07:00
Tom Wilkie
2a00fd2d78
Allow user to specify URLs on the command line, and use that to allow per-target tokens. ( #1901 )
...
Also:
- Parse targets on startup and catch badly formed ones before Scope can start.
- If no port is specified, use default port for scheme; if no scheme is specificed, use 4040.
- Use username as probe token
2016-10-05 10:59:56 -07:00
Tom Wilkie
b130f1ba13
Allow users to specify conntrack buffer size. ( #1896 )
...
* Allow users to specify conntrack buffer size.
* Fix tests.
* Use a config struct.
2016-09-26 12:08:38 -07:00
Alfonso Acosta
c5ac315b38
Review feedback
2016-09-20 16:50:29 +00:00
Alfonso Acosta
0223b0b385
Implement DNS snooper
2016-09-19 14:38:59 +00:00
Alfonso Acosta
a904620908
Improve conntrack kernel-support detection for in-kernel compilations
2016-08-26 14:03:29 +00:00
Alfonso Acosta
4cb002e360
Merge pull request #1817 from weaveworks/release-0.17
...
Release 0.17.1
2016-08-19 15:04:36 +01:00
Alfonso Acosta
f8a67a41f7
Elide sensitive kubernetes flags from the logs
2016-08-18 15:33:07 +00:00
Alfonso Acosta
1bdff95f33
Extend kubernetes client flags to match kubectl
2016-08-17 15:16:58 +00:00
Krzesimir Nowak
1f5dbb776f
Add shortcut reports for plugins.
...
Plugins are queried for reports two times in a second. That's often
enough to get the shortcut reports. The reports are sent together with
the response.
2016-08-12 17:03:42 +02:00
Krzesimir Nowak
0e06423a37
Forward control requests to plugins
...
Thanks to that, plugins can react to requests from controls they
exposed.
To make it work, plugins registry modifies each plugin's report by
prepending the plugin ID to the control name the plugin has exposed
before sending it to the app. Then the registry installs the control
request handler for this faked control name, which forwards the
request to the correct plugin.
This adds a new API endpoint to plugins next to "/report" - a
"/control" entry. The body of the request is the JSON-encoded
xfer.Request instance.
2016-08-12 17:03:42 +02:00
Krzesimir Nowak
41193b428e
Make control handlers registry an object and extend its functionality
...
It is not a singleton anymore. Instead it is an object with a registry
backend. The default registry backend is provided, which is equivalent
to what used to be before. Custom backend can be provided for testing
purposes.
The registry also supports batch operations to remove and add handlers
as an atomic step.
2016-08-12 17:03:42 +02:00
Alfonso Acosta
276ffa338e
Elide service-token when logging commandline arguments
2016-08-11 15:07:08 +00:00
Alfonso Acosta
c0a672c02a
Review feedback
2016-07-01 16:51:57 +00:00
Alfonso Acosta
6f1e52cd0d
Allow disabling controls in probes
2016-07-01 15:06:06 +00: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
Alfonso Acosta
4dfd096ca7
Fix handling of implicit probe targets
...
Also, clean up entrypoint script.
2016-06-15 11:12:50 +00:00
Alfonso Acosta
a6f8b0a0c6
Add probe version header to probe requests
2016-06-08 13:49:21 +00:00
Tom Wilkie
8f772a696d
Add flag to disable reporting of processes (and procspied endpoints)
2016-05-17 17:29:09 +01:00
Alfonso Acosta
1e63d7a23d
Add local networks for each k8s service ( #1490 )
2016-05-12 17:05:22 +01:00
Tom Wilkie
f346ec535c
Don't require the user to specify localhost when manually listing hosts
2016-05-12 11:51:47 +01:00
Alfonso Acosta
f34fc2a4df
Merge pull request #1410 from weaveworks/1408-dnat-shortlived-connections
...
Correctly attribute DNAT-ed short-lived connections
2016-05-05 19:37:35 +01:00
Tom Wilkie
9b8f8a6c83
Have probe query kube dns to find the app.
2016-05-05 15:19:44 +01:00
Alfonso Acosta
4140d288a8
Don't scope docker IPs in Kubernetes
2016-05-04 14:50:22 +00:00
Tom Wilkie
8395c3ca4b
Index Pods by UID and join with containers based on this.
2016-05-03 11:51:51 +01:00
Paul Bellamy
0b9f78367d
Merge pull request #1368 from weaveworks/k8s-delete-pod-service
...
Add pod delete controls
2016-04-29 11:02:55 +01:00
Tom Wilkie
cb52acbc46
Add pod delete control
...
- Push shortcut reports when pods are created/deleted
- Buffer upto 2 reports instead of dropping them
2016-04-28 14:48:05 +01:00
Alfonso Acosta
3598532a4c
Add kubernetes checkpoint flag
2016-04-28 11:31:55 +00:00
Tom Wilkie
b05ef74552
Report hostname and version in probe struct, and version in host node.
2016-04-26 09:25:15 +01:00
Paul Bellamy
a4e68b9598
Merge pull request #1363 from weaveworks/1072-docker-rm
...
Immediately remove deleted containers from the UI.
2016-04-22 10:29:14 +01:00
Tom Wilkie
99204e1ff7
Add k8s pod log control ( #1298 )
...
* Remove individually vendored k8s.io/kubernetes/pkg/<foo>
* Vendor the whole of vendor/k8s.io/kubernetes/pkg
* Add k8s pod log control
* Tag pods with host id and include them in the host topology as children.
* adding a basic test for kubernetes.Reporter.GetLogs
2016-04-21 13:48:50 +01:00
Tom Wilkie
cec750049f
Immediately remove deleted containers from the UI.
2016-04-21 12:26:51 +01:00
Tom Wilkie
cb0901e8e1
Move all the flag parsing to main.go; implement scope help
2016-04-20 15:48:43 +01:00
Tom Wilkie
a171dd2a05
Don't add plugin registry if creating it fails
2016-04-13 10:42:45 +01:00
Paul Bellamy
f211d48cda
Merge pull request #1126 from weaveworks/plugins
...
Plugins
2016-04-12 18:03:26 +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
Tom Wilkie
281ba58845
Add /api/probes endpoint
2016-04-12 17:17:18 +01:00