Tom Wilkie
3173f6ad75
Use histograms over summaries
2016-07-12 11:15:57 +01:00
Paul Bellamy
bcddfd82c3
Added file collector, to serve a static report from file
2016-07-11 11:50:27 +01:00
Alfonso Acosta
6d527821e7
Merge pull request #1627 from weaveworks/1605-read-only
...
Allow disabling controls in probes
2016-07-07 13:37:04 +01:00
Alfonso Acosta
5bb6185515
Clarify no-controls flag
2016-07-07 12:36:33 +00:00
Jonathan Lange
45d0e5441a
Change default timeout for things in the memcache
2016-07-04 16:04:04 +01:00
Jonathan Lange
848574eced
Make expiration a flag
2016-07-04 14:20:14 +01:00
Jonathan Lange
7dd2c6371e
Parametrize window rather than assuming default
2016-07-04 13:50:54 +01:00
Jonathan Lange
c1dab17fb3
Make expiration a Duration
2016-07-04 13:30:23 +01:00
Jonathan Lange
f7bdedc149
Config struct for memcache client
2016-07-04 13:25:45 +01:00
Jonathan Lange
96520d7a46
Fixes to memcache support ( #1628 )
...
* Fix errors discovered in dev
* Log an error rather than aborting when memcache doesn't resolve
* Initialize map correctly
* Review tweaks
2016-07-04 11:00:11 +01: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
Jonathan Lange
9e0f0c51b9
Configuration type for AWS collector
2016-06-30 17:01:58 +01:00
Jonathan Lange
baacaa8cc5
Rename dynamoCollector to awsCollector
2016-06-30 16:44:43 +01:00
Jonathan Lange
6520f8f5f3
Pass in memcache client
2016-06-30 09:59:55 +01:00
Jonathan Lange
abec257c59
Just pass in the s3 client
2016-06-30 09:57:49 +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
Tom Wilkie
1b32cc94c7
Clarify instructions for using Scope with Weave Cloud ( #1611 )
...
* Clarify instructions for using Scope with Weave Cloud
* Some more references to scope.w.w
* a few tweaks to tenses and punctuation
2016-06-27 10:15:03 +01:00
Tom Wilkie
8e1a6b3667
Add dry run flag to scope, so when launched we can check the args are valid. ( #1609 )
...
* Add dry run flag to scope, so when launched we can check the args are valid.
* Try and parse listen address and error early.
* Specify that -dry-run is for internal use only.
2016-06-27 10:13:55 +01:00
Jonathan Lange
47fcb52354
Optional memcached between probes and S3
...
If given settings for memcached, services will store & fetch reports
from memcache after checking their in-process cache but before fetching
from S3.
2016-06-22 18:40:50 +01:00
Alfonso Acosta
4dfd096ca7
Fix handling of implicit probe targets
...
Also, clean up entrypoint script.
2016-06-15 11:12:50 +00:00
Tom Wilkie
a7b34f1601
Use NATS for shortcut reports in the service. ( #1568 )
...
* Vendor nats-io/nats
* Use NATS for shortcut reports.
* Review feedback.
* Rejig shortcut subscriptions, so they work.
* Review feedback
2016-06-09 12:48:41 +01: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
a6f8b0a0c6
Add probe version header to probe requests
2016-06-08 13:49:21 +00:00
Tom Wilkie
12f281654d
Put reports in S3; add in process caching ( #1545 )
...
* Add in-process caching to dynamodb collector
* Add metrics for dynamodb consumed capacity and report size
* Log and return errors during report collection
* Increase compression to the max
* Put reports in S3 and just use DynamoDB as an index.
* Review feedback
2016-05-31 15:40:15 +01:00
Tom Wilkie
c8828826ae
Allow user to specify table name and queue prefix. ( #1538 )
...
* Allow user to specify table name and queue prefix.
* Trim leading slash, catch missed queue prefix
* Comment out publish step until devwww is fixed.
2016-05-25 10:09:32 +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
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
432e5d9a01
Honor the --service-token flag properly.
2016-05-03 15:48:42 +01: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
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
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