109 Commits

Author SHA1 Message Date
divolgin
5a1321da02 Collector and analyzer for RRD data 2020-11-10 17:19:17 +00:00
Matias Manavella
f0d9418e21 parseTimeFlag function and error handling added 2020-10-22 12:26:29 -03:00
Matias Manavella
1ba3840ad9 parseTimeFlag function and error handling added 2020-10-22 11:37:52 -03:00
Matias Manavella
f3af73b6e3 nil and error handling 2020-10-21 14:49:46 -03:00
Matias Manavella
4e047b2372 nil and error handling 2020-10-21 14:47:25 -03:00
Matias Manavella
883abacaf8 --since flag added 2020-10-21 09:59:10 -03:00
Matias Manavella
7186b75f7e --since flag added 2020-10-21 09:51:52 -03:00
Matias Manavella
e16eabd531 added flag --since-time 2020-10-19 16:53:13 -03:00
Salah Aldeen Al Saleh
3ff91a3b92 support bundle subdirectory (#285) 2020-10-19 11:11:56 -07:00
Matias Manavella
06817c1682 Filepath fixed 2020-10-14 15:01:00 -03:00
divolgin
3d301f4307 Don't panic when pod is in a waiting state 2020-10-06 00:24:46 +00:00
divolgin
446b1d5552 Merge pull request #274 from manavellamnimble/removeImagePullSecretPathSupport
Remove image pull secret path support
2020-10-05 16:55:46 -07:00
Matias Manavella
213b52477f Run collectors docs modified 2020-10-01 13:53:54 -03:00
Matias Manavella
e9ba73d87f Support for path to config.json file removed 2020-10-01 13:42:29 -03:00
Matias Manavella
53bd30755d secret analyzer fixed 2020-09-29 11:42:21 -03:00
divolgin
545313aa06 Merge pull request #260 from manavellamnimble/abortImagePullBackoff
Abort run collector on ImagePullBackoff
2020-09-17 08:54:39 -07:00
Matias Manavella
2ae1b9b678 abort run collector on ImagePullBackOff 2020-09-16 18:16:32 -03:00
Matias Manavella
2f2501ac3b fix empty key in secret 2020-09-16 18:12:19 -03:00
Matias Manavella
00bbfc0414 Abort run collector on ImagePullBackoff 2020-09-11 10:20:39 -03:00
Matias Manavella
c4d4af6890 fixEmptyKeySecret 2020-09-10 13:01:31 -03:00
Salah Aldeen Al Saleh
b2cb3bf43b handle nil ImagePullSecret in collector (#255) 2020-09-09 07:41:34 -07:00
Matias Manavella
1f0842484c error-handling modified 2020-09-07 11:33:06 -03:00
Matias Manavella
8c31054331 error-handling modified 2020-09-07 11:21:23 -03:00
Matias Manavella
4b2e7e153e add or create ImagePullSecret 2020-09-04 12:41:47 -03:00
divolgin
a0ce85ae1e Adding troubleshoot.sh/v1beta2 2020-09-01 19:57:11 +00:00
Matias Manavella
6862f0f6c1 K8s events (#248)
* K8s events collected

* collect events

* collect events
2020-08-24 14:41:38 -07:00
Matias Manavella
6ad9103f86 Copy collector enhanced (#237)
Copy collector enhanced
2020-08-24 10:57:40 -07:00
Andrew Lavery
6e874483b6 update yaml key name, fixup example troubleshoot 2020-06-15 13:55:07 -04:00
Andrew Lavery
afd2ee95ca Merge remote-tracking branch 'origin/master' into laverya/redactor-reformat 2020-06-15 11:21:37 -04:00
Andrew Lavery
e66d12dab2 combine multiline and single line regex 2020-06-15 11:15:50 -04:00
Marc Campbell
65f957db81 Refactor to support K8s 1.18 2020-06-12 09:28:49 -07:00
Andrew Lavery
a561254756 break apart redactor type 2020-06-09 18:43:44 -04:00
Salah Aldeen Al Saleh
53626bb025 Default BoolString to string and bool to 0 (#211)
* default boolstring to string and bool to 0
2020-06-01 14:55:33 -07:00
Marc Campbell
0f31088bd1 Parse postgres version output 2020-05-07 19:41:59 -07:00
Andrew Lavery
2f092ae4a1 add multiline redactor test 2020-04-27 20:52:01 -04:00
Andrew Lavery
56150c3345 add support for redacting items within yaml documents 2020-04-27 20:46:52 -04:00
Andrew Lavery
8b54c28b4b remove per-collector redactors 2020-04-20 14:59:15 -04:00
Andrew Lavery
d016e3269c add global and per-collector redactors
add redact type, and begin wiring global redactors

use per-collector redactors

add a test of the 'data' collector and redaction

handle literal string replacements

remove redundant types and redact calls

add proper redactor type, foundations of global redactors

accept global redactors from the CLI, include sample redaction spec
2020-04-16 14:03:00 -04:00
Andrew Lavery
7dc93ddade don't redact nil entries, discard them 2020-04-14 17:59:12 -04:00
Andrew Lavery
a7c4f04a63 convert remaining collectors to map[string][]byte format 2020-04-14 17:15:53 -04:00
Andrew Lavery
527fe16bcc reduce marshal/unmarshal passes by returning map[string][]byte
WIP
2020-04-14 16:37:51 -04:00
Andrew Lavery
cbaf96691e collect logs from all containers in a pod if no container is specified 2020-04-08 16:05:44 -04:00
Andrew Lavery
4dfb02e7f7 Merge pull request #167 from replicatedhq/laverya/include-container-in-copy-path-if-provided
include the container name in the file copy path destination if provided
2020-04-06 18:29:45 -04:00
Andrew Lavery
2c495b8a7a include the container name in the file copy path destination if provided 2020-04-06 18:02:37 -04:00
Andrew Lavery
c3646bacd9 don't use a default filename in paths 2020-04-06 18:01:13 -04:00
Andrew Lavery
3844a3dbd3 don't override namespace 2020-04-06 17:44:57 -04:00
Andrew Lavery
544c832d6e support the 'includeValue' flag for secrets 2020-04-06 17:03:19 -04:00
divolgin
9dbf282b5b Merge pull request #156 from replicatedhq/divolgin/previous
Include previous logs from pods if available
2020-03-23 09:19:33 -07:00
Marc Campbell
821a132980 add some omitempty 2020-03-23 08:58:02 -07:00
Marc Campbell
8f78827002 Redis 2020-03-20 11:03:49 -07:00