Граф коммитов

121 Коммитов

Автор SHA1 Сообщение Дата
annelausf 0bce59a4fd
Update README.md 2021-09-27 14:41:39 -07:00
annelausf e60a234ba3
Update README.md
Checking that GO111MODULE="auto" helps prevent the error that package 'github.com/dgraph-io/badger/v2' cannot be found.
2021-09-24 17:33:15 -07:00
sana-jawad 2f132c23e2
No events bug fix (#177)
* Fix for no events showing up bug

* Minor tweak

* Fix for no events showing up bug

After a recent change the events stopped showing up in Sloop UI when there was an event indicated by yellow/green capsules.

Fix:

In event type we have names in watch key as /watch/partitionID/Event/Namespace/Name.xx

With the recent change it resulted in watch key to be /watch/partitionID/Event/Namespace/Name/ and thus no events matched this prefix. This a fix to deal with Events type and make it work for all K8s kinds.

Also added unit test cases and fixed the integration test which should have caught the issue in the previous check in.

* Added one more test case for events with common prefixes
2021-09-13 11:18:42 -07:00
sana-jawad 209aa49745
Add debug option to view table related from all badger tables (#175)
* Added option to see information from all tables in debug page

* Updated binddata file

* Updated bind data file
2021-09-10 15:46:07 -07:00
sana-jawad e685ea4fa5
Fixed missing UID bug (#176) 2021-09-10 14:18:43 -07:00
sana-jawad 0ce05fcf68
Updated docker image path (#170) 2021-09-10 11:37:52 -07:00
sana-jawad 63b3d51552
Cleaned up logs for Sloop (#174)
* Cleaned up logs by adding verbosity and also added configuration to manage badger detailed logs

* Fixed a function call

* Removed unrelated change
2021-09-10 11:02:23 -07:00
Duke Harlan 09b1ac12ba
Fix Details dialog with no payload entries (#172)
* add logging, ensure seekKey is not a reference but a duplicate

* add unit test at GetResPayload level

* fix failing unit test
2021-09-07 13:05:19 -07:00
Kritika Pradhan 782fbebe56
Unrelated Pod Information (#171)
* unrelated pod information

* added test case for payloads with same prefix
2021-09-01 15:22:23 -07:00
mengyaoyang11 e86b222155
Present User Selected Time and Now in UTC format (#161)
* switch NOW from local time to UTC time to avoid empty screen

* address comment

* address comments
2021-06-16 16:04:25 -07:00
sana-jawad 7ccf8fff10
Updated to use open metrics (#163) 2021-06-16 13:23:51 -07:00
Adarsh 1cec5a0eaf
Removing end time temporarily (#160)
* Removing end time temporarily

* Updating webfiles folder

* refactoring
2021-06-10 11:48:07 -07:00
Adarsh b9cd2e2989
Adding informers to support HPA,PDB and Jobs (#159)
* Adding informers to support HPA,PDB and Jobs

* remove blines
2021-06-09 16:53:47 -07:00
Tristan Keen 3e081f1d33
Fix end time (#156)
* Fix end_time param for JS and golang code

* Updated bindata

* Update go-bindata command to keep package name
2021-05-21 11:29:25 -07:00
Tristan Keen 1c49d1c5a4
Add helm options for config, pullPolicy and apiGroups (#154)
* Add helm options for config, pullPolicy and apiGroups

* Default imagePullPolicy to IfNotPresent
2021-05-20 15:17:10 -07:00
mengyaoyang11 14ae23c068
enable user reset date/time to now (#152)
* enable user reset date/time to now

* addressed comments

* address size of button to fit the screen

* edit unit test to have build succeful

* minor change
2021-05-10 22:06:23 -07:00
mengyaoyang11 552db95bd8
make the endtime param sync up with filter.js file for correct query results (#151) 2021-05-05 16:53:01 -07:00
mengyaoyang11 1f2014c85d
Add custom time search window (#150)
* Add custom time window which enables users to select the end time

* minor change

* Add custom time window which enables users to select the end time

* minor change

* Add custom time search feature

* addressed comments

* add updated bindata.go file

* change package name back to webserver in bindata.go file
2021-04-29 16:37:53 -07:00
Oliver Bennett 6d6dfc491c
Fix BadgerNumL0TablesStall json fieldname (#149) 2021-04-28 12:38:43 -07:00
mengyaoyang11 bf26ad23dc
Add User Input End Time (#147)
* Update computedEndtime logic to use user input as golden.

* update test case and edit the existing input validation/computation

* update test case

* update test file

* update test file
2021-03-12 11:51:14 -08:00
kritikapradhan e1839aa3b1
Set priority for input parameters (#145)
* changed input parameter approach

* removed comment

* ran go fmt

* removed return for register flag

* assert.equal change

* extracted config file implementation

* ran go fmt

* more pr comments

* added default config logging

* changed logging msg

* addressed pr comments
2021-02-25 19:54:47 -05:00
Duke Harlan 6c0fc7bb71
Refactor CRD watcher to allow refreshing (drop old, create new) (#142)
* refactor CRD watcher to allow refreshing (drop old, create new), add unit tests

* changes while testing

* make the CRD refresh interval configurable
2021-02-17 17:07:38 -08:00
mengyaoyang11 be0fa462f3
Sloop: update steps to contribute page (#143)
* update steps to contribute page

* update contribute page

* update contribute page

* update contribute page

* update contribute page

* update contribute steps
2021-02-16 18:17:31 -08:00
kritikapradhan 870416e16b
Shortcut button to dismiss popup (#141)
* added dismiss popup for payload window

* package error in bindata.go

* removing change to makefile
2021-02-12 12:45:14 -05:00
kritikapradhan 8be36af70c
@W-8881273 - Clean up webfiles based on learnings in training (#140)
* reformatted webfiles functionality based on learnings from training

* formatted files

* addressed comments
2021-02-11 18:47:42 -05:00
sana-jawad a91e2b4e83
Make relative paths work with Sloop (#138)
* Make relative paths work with Sloop

* Added unit tests

* Incorporated comments

* Fixed a missing link

* Incorporated Duke's comment

* Incorporated Duke's comments
2021-02-08 10:05:42 -08:00
kritikapradhan bebeccbb7e
updated readme, added how to update bindata.go (#139) 2021-02-05 12:55:13 -08:00
kritikapradhan 79b5796aa5
@W-8542557 - flawed search string function fixed (#137)
* flawed search string function fixed

* added unit tests, updated variable name

* made contains public
2021-01-28 12:24:35 -08:00
kritikapradhan 929a653011
update readme (#136) 2021-01-13 14:19:39 -05:00
kritikapradhan bb960cb11f
@W-8594741 - Import webfiles dynamically (#134)
* code changes to reflect webfiles as binary data

* missed a few error logging and added comments

* added test file and checking whether asset exists

* ran go mod tidy

* added const back

* checking locally first and then bin data

* updated names of func to make local and added run time checks of bin data

* readwebfiles unit tests

* fixed issue w filepath const

* ran go fmt

* minor changes

* switched expected and actual output assert

* msg to string const

* removed middle parameter in read webfile

* formatted

* changes in test file

* changes in test file

* made the error msg into a variable

* changes to dockerfile, go releaser, and comments
2021-01-13 13:44:45 -05:00
VemComPY 20f89dbccd
Rafabios feature/ingress-and-svc-type (#135)
* added ingress values and service type field

* added ingress template

* added service type to template

* Removed namespace field
2021-01-06 11:41:11 -08:00
kritikapradhan 45e0fdca04
Helm values picked by Sloop (#133)
* fixed helm issuues being picked up by file

* changed formatting of code

* added unit tests

* added unit tests

* changes to test files

* added panic tests

* changes tests, moved test files

* removed returning error

* removed an extra line to change email

* updated data files to not reflect default values
2020-11-18 15:37:30 -08:00
kritikapradhan ace7752827
faster upload speed of payloads (#130)
Co-authored-by: Kritika Pradhan <kritikapradhan@kritikaprad-ltm.internal.salesforce.com>
2020-10-06 14:05:20 -07:00
Sridhar Vemula b671cfe028
enable truncate value log option if badger db offset is different from badger db size (#128)
* enable truncate option in badger to cleanup inconsistent data due to application crashes

* updated as per review comments
2020-10-02 09:50:42 -07:00
Arthur Lutz db1c117b71
[helm/README] markdown title fix (#126) 2020-09-09 10:59:18 -07:00
Min Wang 40eed20ec2
make json and variable are consistent (#125) 2020-08-31 14:09:55 -07:00
Min Wang 24bf9e6207
fix the deployment kind missing and add address binding feature (#124) 2020-08-31 13:16:18 -07:00
Sridhar Vemula 9c6030bd1c
using goreleaser for semver builds on sloop. (#121)
* using goreleaser for semver builds on sloop. Integrated with travis ci and docker.

* fix: deploy script update to ignore new lines

* fix: deploy script update to ignore new lines

* fix: using make target instead of shell script as travis having issues with new lines

* fix: removed travis environment variable from makefile

* fix: updated build script
2020-07-08 12:00:58 -07:00
Philippe scorsolini b6b19fc13a
yaml list elements fix (#123)
Just a visual fix, but I like to decrease the entropy in the universe 🙏
2020-06-29 08:29:03 -07:00
Sridhar Vemula 8f4c702326
fixed scrolling issue on the sideleftnav (#122) 2020-06-24 13:27:23 -07:00
sana-jawad 6874a7cc5f
Read me for memory consumption (#119)
* Added guidance for memory consuption

* Added metric for dropPrefix latency so that we can measure for how much time it locks the DB

* fixed the comment
2020-05-11 16:13:05 -07:00
cmeister-sfdc 245ccdd3c4
Use CRD's specified kind for event listening on CRDs (#115) 2020-05-11 14:33:24 -07:00
sana-jawad 968799a319
Updated number of version to keep to 1 (#117) 2020-05-06 13:50:06 -07:00
sana-jawad c595202d01
Sloop was not able to reduce the size on disk after GC runs. This also plays a big role in memory consumption. (#114)
Upgraded Badger version.
Added flattening at start up time.
Fixed the event count spreading issue which resulted in uneven data distribution across partitions.
Moved to drop prefix as it yields better space claim.
Added feature flag for switching to delete prefix. Also changed the numberfversions to 0 so that delete prefix would reclaim space. dgraph-io/badger#1228
Fixed the issue of unclaimed !badger!move prefixes which are never cleaned up. Details: dgraph-io/badger#1288
Added support in debugging pages to see internal keys.
2020-04-24 11:32:51 -07:00
sana-jawad 3506d40246
Garbage collection fix (#110)
* Garbage collection fix

Issues fixed:

1. Garbage collection was not able to sustain the required size limit.
2. Exposed more badger options to help in compression
3. Fixed runtime bug encountered when event records with nil map was retrieved.

* Incorporated comments

* Incorporated Duke's comments
2020-03-13 15:16:26 -07:00
sana-jawad c29fcb8723
Sloop keys histogram (#109)
Added Sloop keys Histogram for debug support
2020-02-28 12:23:37 -08:00
sana-jawad c7ebc8596f
Added readme for tables in Sloop (#108)
Added readme for tables in Sloop
2020-02-20 12:42:41 -08:00
sana-jawad 7d94723dfa
Exposed more badger options for memory utilization tweaks (#107)
* GC Fix

* Addressed all comments and added unit test

Fixed the replay use case and added unit test

* Removed the GetMin and GetMaxPartitions functions as they are not required now

* Added more unit test cases

* Badger Tweaks for memory utilization
2020-02-19 14:57:22 -08:00
sana-jawad e0a8d06841
Drop prefix optimization: Replaced DropPrefix with deletion of keys. Also added some more metrics. (#105)
* GC Fix

* Addressed all comments and added unit test

Fixed the replay use case and added unit test

* Removed the GetMin and GetMaxPartitions functions as they are not required now

* Added more unit test cases

* Removed dropPrefix to fix the performance

* Added some more metrics

* Added unit tests and some more metrics

* Removed dropPrefix to fix the performance

* Added some more metrics

* Added unit tests and some more metrics

* Incorporated some comments

* Incorporated all the comments

* fixed the minor comment
2020-02-12 17:07:00 -08:00
Thomas Hargrove d6f04a9f7c
Update README.md (#104) 2020-02-05 22:59:38 +05:30