1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-25 06:49:23 +01:00
Commit Graph

53 Commits

Author SHA1 Message Date
Amir Raminfar
8c8987b666 chore(refactor): refactors docker client for better testing (#2302)
* chore(refactor): refactors docker client for better testing

* more refactoring and clenaing up tests
2023-07-11 13:21:46 -07:00
Amir Raminfar
1bb1081f1a fix(performance): improves streaming of logs by using the Docker library to demultiplex (#2295)
* fix(performance): improves streaming of logs by using the Docker library to demultiplex

* fixes go tests

* changes channel to unbuffered

* fixes golang race test

* fixes stopped containers

* wip

* uses different strategy

* cleans tests

* cleans tests

* adds more tests

* fixes possible bug

* fixes download

* adds more tests for download

* uses pool

* adds more tests
2023-07-11 09:52:30 -07:00
Amir Raminfar
2c909dab09 fix: adds port and schema to connection again to fix clashes between same host. fixes #2279 (#2289)
* fix: adds port and schema to connection again to fix clashes between same host. fixes #2279

* fixes tests
2023-07-06 09:22:22 -07:00
Amir Raminfar
70acaa64d8 feat: adds ability to support labels with | delimeter (#2276)
* feat: adds ability to support labels with | delimeter

* fixes tests

* updates docs
2023-06-28 12:14:17 -07:00
Amir Raminfar
14fc1190a8 feat: supports multiple hosts in parallel and update hosts menu (#2269)
* feat: updates host menu to be part of side menu

* updates routes to be host/id

* fixes go tests

* fixes js tests

* fixes typescheck

* fixes int tests

* fixes mobile

* fixes bug in merging containers

* fixed minor bug with menu
2023-06-24 19:13:39 +00:00
Amir Raminfar
31063fa1b4 feat: removes localhost as a required client. fixes #2259 (#2263)
* feat: removes localhost as a required connection

* refactors code

* fixes tests

* adds more tests

* adds more tests

* refactors

* cleans up logs
2023-06-20 17:43:47 +00:00
Amir Raminfar
7477b1aecc fix: fixes std stream when type is unknown. see #2243 (#2247)
* fix: fixes std stream when type is unknown. see #2243

* fixes tests
2023-06-08 10:23:02 -07:00
Amir Raminfar
5f92e84d9d feat: adds support for different std out and err streams (#2229)
* feat: adds support for different std out and err streams

* feat: adds std to json

* fixes tests

* fixes deprecated code

* fixes download

* adds defineEmit as an option

* chore: updates modules

* adds ui elements

* fixes tests

* updates languages
2023-05-31 15:19:40 -07:00
Amir Raminfar
8c625a3113 fix: fixes healthcheck when containers are stopped 2023-04-09 13:47:03 -07:00
Amir Raminfar
9ba1a0f76a Adds health status by parsing the label from status (#2099)
* Adds healthcheck to status in menu

* Fixes bug with crated

* Moves colors to vars

* Updates icons
2023-03-29 08:58:12 -07:00
Amir Raminfar
1350895676 Updates logic when no TLS certs are found to use plan HTTP. See #2066 (#2067) 2023-02-25 12:57:35 -08:00
Amir Raminfar
872729a93b Adds support for multiple hosts (#2059)
* Adds support for multiple hosts

* Adds UI for drop down

* Adds support for TLS and remove SSH

* Changes dropdown to only show up with >1 hosts

* Fixes js tests

* Fixes go tests

* Fixes download link

* Updates readme

* Removes unused imports

* Fixes spaces
2023-02-24 09:42:58 -08:00
Amir Raminfar
155757dd74 Removes tail size (#1981)
* Removes tail size

* Removes tail from analytics
2022-12-12 09:14:29 -08:00
Altynbek Kaliakbarov
d083430c73 Change calculation of memory usage. (#1892) 2022-09-28 12:23:24 -07:00
Amir Raminfar
db01579f04 Fixes tests and returns millis too (#1854) 2022-08-19 12:10:18 -07:00
Amir Raminfar
85eafc9c40 Tries to add 1 mircosecond to skip first log event (#1838) 2022-08-04 13:24:21 -07:00
Amir Raminfar
5eca19840e Fixes cpu count using online cpus. Fixes #1829 2022-08-01 13:32:48 -07:00
Amir Raminfar
5cffa287d5 Adds a simple healthcheck every 2s (#1814)
* Adds a simple healthcheck every 5s

* Fixes bugs for healthcheck
2022-07-20 11:56:42 -07:00
Amir Raminfar
ba1ccc92a8 Cleans up code 2021-12-01 09:44:49 -08:00
Amir Raminfar
2246b58aa9 Adds more logging for fetching logs between dates 2021-11-30 18:48:32 -08:00
Amir Raminfar
4a26753ce8 Should fix #1317 by making sure a valid actor.id is present 2021-06-27 19:09:20 -07:00
Amir Raminfar
8238620360 Adds seperate options for filter. See https://github.com/alexflint/go-arg/issues/155 and should fix bug in #293 (#1200) 2021-05-05 11:50:02 -07:00
Amir Raminfar
8be95f4359 Only sends events for containers. Should fix #1162 2021-04-20 14:06:16 -07:00
Amir Raminfar
0b3493c646 Adds better debugging for #1162 2021-04-20 13:16:27 -07:00
Amir Raminfar
7f6a6a03c0 Fixes possible goroutine leak 2021-01-21 10:50:09 -08:00
Amir Raminfar
de15fcd74f Tries to user readers instead of channels (#915) 2021-01-02 19:25:52 -08:00
Amir Raminfar
1739a03780 Cleans up logs 2020-12-16 16:43:25 -08:00
Amir Raminfar
7ce29eae21 Cleans up events and js layer (#895) 2020-12-15 13:13:35 -08:00
Amir Raminfar
84fb187449 Cleans up stats worker routine 2020-12-14 11:51:53 -08:00
Amir Raminfar
e269cc4f63 Keep spaces. Maybe fixes #838 (#840) 2020-11-21 17:58:34 -08:00
Amir Raminfar
220722deaa Work in progress to show live stats (#671)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-06 15:32:27 -07:00
Amir Raminfar
74273b8bf7 Updates index page to a dashboard 2020-07-09 13:03:56 -07:00
Amir Raminfar
42d2b57814 Adds not found pages 2020-07-06 12:05:41 -07:00
Amir Raminfar
d31a1ccea9 Uses lower to sort. Fixes #452 2020-05-14 10:00:37 -07:00
Amir Raminfar
1e4763c450 Adds Last-Event-ID (#449) 2020-05-12 10:25:21 -07:00
Amir Raminfar
ca20f7c0a3 Makes changes to show all containers and event streams (#448) 2020-05-11 17:05:21 -07:00
Amir Raminfar
e7b65efc7a Uses client.WithAPIVersionNegotiation 2020-04-16 14:12:08 -07:00
Amir Raminfar
32dd847f4f Refactors tty code 2020-01-04 12:02:47 -08:00
Amir Raminfar
c938b2ea1b Fetch more (#209)
* Adds code to fetch more

* Adds working in progress

* Adds debugging test

* Cleans up and creates a new component

* Adds debug logs

* Adds debounce for messages

* Fixes scrolling

* Fixes go code to handle length

* Fixes tests

* Adds loader

* Fixes tests
2019-12-17 14:58:29 -08:00
Amir Raminfar
c5bd1fc735 Adds support for tty (#168) 2019-11-05 10:33:45 -08:00
Pavel Makarenko
b356ffcd68 added --showAll flag that will show all containers (default: false) (#109) 2019-08-23 13:23:30 -07:00
Amir Raminfar
0562c9a625 Adds filters to be used with all supported filters (#87)
* Adds filter WIP

* Updates with map

* Updates readme
2019-07-24 08:28:59 -07:00
Amir Raminfar
6a44ebaa5c Adds tests and uses filterName instead. (#85)
* Adding:
- ability to restrict view to container by regex match on container name
- instructions for building/running locally

* refactoring based on comments

* Updates tests

* Fixes readme
2019-07-22 12:38:52 -07:00
Amir Raminfar
87dd7c3d3b Fixes tail size parameter (#22) 2019-05-14 10:57:27 -07:00
Amir Raminfar
667c096ef5 Adds env variable for tail and fixes #15 2019-02-19 14:49:04 -08:00
Amir Raminfar
952c38e7b3 Fixes messages possible deadlock 2018-12-05 06:57:37 -08:00
Amir Raminfar
2a837762ed Adds more tests 2018-12-03 17:27:50 -08:00
Amir Raminfar
957a5104b8 Uses a proxy interface instead 2018-12-03 12:42:38 -08:00
Amir Raminfar
a4981f1b2c Does a bunch of little cleanup (#11)
* Cleans up the context by reusing r.Context() and passing messages instead of readers

* Fixes tests

* Removes parameters

* Fixes error buffer
2018-12-03 12:34:08 -08:00
Amir Raminfar
27e8129caa Adds comments 2018-11-30 10:10:51 -08:00