Allow to log date in k6 scenarios #189

Closed
fyrchik wants to merge 2 commits from fyrchik:k6-fix-logging into master
Owner
No description provided.
fyrchik added 3 commits 2025-01-10 11:10:08 +00:00
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
```
WARN[13:55:48] Couldn't load source map for file:///repo/frostfs/k6/scenarios/libs/k6-utils-1.4.0.js  error="The moduleSpecifier \"file:///repo/frostfs/k6/scenarios/libs/index.js.map\" couldn't be found on local disk. Make sure that you've specified the right path to the file. If you're running k6 using the Docker image make sure you have mounted the local directory (-v /local/path/:/inside/docker/path) containing your script and modules so that they're accessible by k6 from inside of the container, see https://k6.io/docs/using-k6/modules#using-local-modules-with-docker."
```

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
[#188] logging: Allow to print date in log messages
All checks were successful
DCO action / DCO (pull_request) Successful in 27s
Tests and linters / Tests (pull_request) Successful in 1m44s
Tests and linters / Tests with -race (pull_request) Successful in 1m58s
Tests and linters / Lint (pull_request) Successful in 3m37s
635cdf1ef6
`timeonly`:
```
INFO[14:05:21] kek                                           endpoint=1
```

`datetime`:
```
INFO[2025-01-10 14:03:58] kek                                           endpoint=1
```

`none`
```
INFO kek                                           endpoint=1
```

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
requested reviews from storage-core-committers, storage-core-developers, storage-services-committers, storage-services-developers 2025-01-10 11:10:08 +00:00
fyrchik force-pushed k6-fix-logging from 635cdf1ef6 to c376250c3e 2025-01-10 11:12:09 +00:00 Compare
fyrchik force-pushed k6-fix-logging from c376250c3e to 1ad43b542c 2025-01-10 11:13:54 +00:00 Compare
fyrchik force-pushed k6-fix-logging from 1ad43b542c to e6c1b668ab 2025-01-10 11:14:21 +00:00 Compare
Author
Owner

Duplicate of #190

Duplicate of #190
fyrchik closed this pull request 2025-01-10 11:38:58 +00:00
All checks were successful
DCO action / DCO (pull_request) Successful in 38s
Tests and linters / Tests with -race (pull_request) Successful in 1m33s
Tests and linters / Tests (pull_request) Successful in 2m11s
Tests and linters / Lint (pull_request) Successful in 2m57s

Pull request closed

Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-core-committers
TrueCloudLab/storage-core-developers
TrueCloudLab/storage-services-committers
TrueCloudLab/storage-services-developers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/xk6-frostfs#189
No description provided.