93007c1842
[volume] refactor and add metrics for flight upload and download data limit condition ( #6920 )
...
* refactor concurrentDownloadLimit
* fix loop
* fix cmdServer
* fix: resolve conversation pr 6920
* Changes logging function (#6919 )
* updated logging methods for stores
* updated logging methods for stores
* updated logging methods for filer
* updated logging methods for uploader and http_util
* updated logging methods for weed server
---------
Co-authored-by: akosov <a.kosov@kryptonite.ru >
* Improve lock ring (#6921 )
* fix flaky lock ring test
* add more tests
* fix: build
* fix: rm import util/version
* fix: serverOptions
* refactoring
---------
Co-authored-by: Aleksey Kosov <rusyak777@list.ru >
Co-authored-by: akosov <a.kosov@kryptonite.ru >
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com >
Co-authored-by: chrislu <chris.lu@gmail.com >
2025-07-02 18:03:49 -07:00
Aleksey Kosov and GitHub
ef4eda0761
added re-generating and writing the Volume UUID if it is empty ( #6568 )
2025-02-24 07:58:43 -08:00
chrislu
b78a897f14
freebsd has fs.Bavail as int64
...
fix freebsd building https://github.com/seaweedfs/seaweedfs/actions/runs/13380531394/job/37368195169
2025-02-17 20:19:52 -08:00
7392161894
fix: The free disk size and percentage are quite different from the output of df -h. ( #6550 )
...
* fix: record and delete bucket metrics after inactive
* feat: match available disk size with system cmd `dh -h`
* feat: move temp test to unmaintained/
---------
Co-authored-by: XYZ <XYZ>
2025-02-17 15:49:11 -08:00
8eab76c5db
fix: record and delete bucket metrics after inactive ( #6523 )
...
Co-authored-by: XYZ <XYZ>
2025-02-07 10:26:39 -08:00
Hadi Zamani and GitHub
a2330f624b
Add metrics for uploaded and deleted s3 objects ( #6475 )
2025-01-25 21:55:06 -08:00
Hadi Zamani and GitHub
c7ae969c06
Add bucket's traffic metrics ( #6444 )
...
* Add bucket's traffic metrics
* Add bucket traffic to dashboards
* Fix bucket metrics help messages
* Fix variable names
2025-01-16 08:23:35 -08:00
zouyixiong and GitHub
d6f3e1970d
fix: filer may crash by bucketLastActiveTsNs concurrency access. ( #6350 )
2024-12-13 05:30:21 -08:00
zouyixiong and GitHub
9987a65e8a
fix: record and delete bucket metrics after inactive ( #6349 )
2024-12-12 20:34:02 -08:00
Konstantin Lebedev and GitHub
167b50be88
fix missing register master metric MasterPickForWriteErrorCounter ( #6277 )
2024-11-25 08:59:11 -08:00
wyang and GitHub
a7973ed7d1
fix deadlock hang when broadcast to clients ( #6184 )
...
fix deadlock when broadcast to clients
when master thransfer leader, the old master will disconnect with all
filers and volumeServers, if the cluster is a big , the broadcast
messages may be more big than the max of the channel len 100, then if the
KeepConnect was not listen on the channel in disconnect, it will
deadlock. and the whole cluster will not serve!
2024-11-03 23:20:48 -08:00
steve.wei and GitHub
cfbe45c765
feat: add in-flight metric for s3/file/volume-server ( #6120 )
2024-10-14 12:10:05 -07:00
028ebb1d0d
Feat:merge small chunk ( #6049 )
...
* fix:mount deadlock
* feat: merge small chunk
* adjust MergeChunkMinCount
* fix
---------
Co-authored-by: zemul <zhouzemiao@ihuman.com >
2024-09-23 08:51:03 -07:00
Konstantin Lebedev and GitHub
67a252ee8a
[master] refactor func ShouldGrowVolumes ( #5884 )
2024-09-04 08:16:44 -07:00
Konstantin Lebedev and GitHub
b2ffcdaab2
[master] do sync grow request only if absolutely necessary ( #5821 )
...
* do sync grow request only if absolutely necessary
https://github.com/seaweedfs/seaweedfs/pull/5819
* remove check VolumeGrowStrategy Threshold on PickForWrite
* fix fmt.Errorf
2024-07-30 13:21:35 -07:00
Konstantin Lebedev and GitHub
33964fa292
metrics stats of volume layout depends on the data center ( #5775 )
...
stats volume layout depends on the data center
2024-07-12 12:32:25 -07:00
Dominic Pearson and GitHub
d8bde9b96e
Solaris disk support ( #5638 )
2024-06-02 22:10:28 -07:00
chrislu
ba98f02d02
go fmt
2024-05-23 08:25:16 -07:00
731b3aadbe
Add support for OpenBSD ( #5578 )
...
Co-authored-by: Dave St.Germain <dcs@adullmoment.com >
2024-05-10 14:35:41 -07:00
steve.wei and GitHub
0bdf121e51
rename VolumeServerVolumeGauge ( #5504 )
2024-04-17 04:49:50 -07:00
Konstantin Lebedev and GitHub
33537ae29f
[s3] fix s3 test_multipart_get_part ( #5476 )
...
* try fix s3 test_multipart_get_part
* add passed s3 tests
* fix SeaweedFSUploadId
* rm spaces
* convert part request to range
* add passed s3 tests of multipart
2024-04-14 10:41:32 -07:00
Konstantin Lebedev and GitHub
3e25ed1b11
[s3] add s3 pass test_multipart_upload_size_too_small ( #5475 )
...
* add s3 pass test_multipart_upload_size_too_small
* refactor metric names
* return ErrNoSuchUpload if empty parts
* fix test
2024-04-07 11:52:35 -07:00
Konstantin Lebedev and GitHub
d42a04cceb
[s3] fix s3 test_multipart_resend_first_finishes_last ( #5471 )
...
* try fix s3 test
https://github.com/seaweedfs/seaweedfs/pull/5466
* add error handler metrics
* refactor
* refactor multipartExt
* delete bad entry parts
2024-04-06 10:56:39 -07:00
Konstantin Lebedev and GitHub
9c1e0f5811
[master] grow volumes if no writable volumes in current dataCenter ( #5434 )
...
* grow volumes if no writable volumes in current dataCenter
https://github.com/seaweedfs/seaweedfs/issues/3886
* fix tests with volume grow
* automatic volume grow one volume
* add ErrorChunkAssign metrics
2024-03-29 00:38:27 -07:00
Konstantin Lebedev and GitHub
dc9568fc0d
[master] add test for PickForWrite add metrics for volume layout ( #5413 )
2024-03-22 07:39:11 -07:00
Konstantin Lebedev and GitHub
a7fc723ae0
chore: add status code for request_total metrics ( #5188 )
2024-01-10 10:05:27 -08:00
chrislu
81f11883e3
go fmt
2023-11-26 11:47:20 -08:00
SmsS4 and GitHub
f95848ba7d
Add ErrorGetNotFound and ErrorGetInternal to volume server metrics ( #4960 )
2023-10-30 07:38:03 -07:00
chrislu
6ebe26a765
Revert "Revert "Revert "Add disk type to prometheus metrics" ( #4777 )""
...
This reverts commit 567d788928 .
2023-10-03 08:28:52 -07:00
chrislu
567d788928
Revert "Revert "Add disk type to prometheus metrics" ( #4777 )"
...
This reverts commit 9215ba24be .
2023-10-02 11:49:54 -07:00
Nico D'Cotta and GitHub
796b7508f3
Implement SRV lookups for filer ( #4767 )
2023-08-24 07:08:56 -07:00
SmsS4 and GitHub
f61490966f
Add time to first byte metric for s3 ( #4768 )
...
* Add time to first byte metric for s3
* Change second to millisecond
2023-08-21 00:42:39 -07:00
wusong and GitHub
3ec977cd6c
minor ( #4723 )
2023-08-01 02:34:59 -07:00
244385bf0d
Fix binding metrics to ipv6 ( #4286 )
...
* Fix binding metrics to ipv6
* Update weed/stats/metrics.go
---------
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com >
2023-03-08 01:04:02 -08:00
Jiffs Maverick and GitHub
4b0430e71d
[metrics] Add the ability to control bind ip ( #4012 )
2022-11-24 10:22:59 -08:00
Konstantin Lebedev and GitHub
1f7e52c63e
vacuum metrics and force sync dst files ( #3832 )
2022-10-13 00:51:20 -07:00
Konstantin Lebedev and GitHub
5db25a8f2a
metric shows who is currently blocking the cluster or not ( #3799 )
...
* master_admin_lock Shows whether cluster is locked now or not
https://github.com/seaweedfs/seaweedfs/issues/3452
* fix metric MasterAdminLock
2022-10-07 13:26:29 -07:00
Konstantin Lebedev and GitHub
a522507f95
configure raft metrics ( #3798 )
2022-10-07 04:20:34 -07:00
Konstantin Lebedev and GitHub
22181dd018
refactor FilerRequest metrics ( #3402 )
...
* refactor FilerRequest metrics
* avoid double count proxy
* defer to
2022-08-04 01:44:54 -07:00
Konstantin Lebedev
3ffa4ba91d
clean
2022-08-02 01:30:38 +05:00
Konstantin Lebedev
2a5629dd28
align
2022-08-02 01:29:44 +05:00
Konstantin Lebedev
df9cc31a0a
refactor
2022-08-02 01:18:26 +05:00
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2022-07-29 00:17:28 -07:00
Evgeny Kuzhelev
ac5ce31278
leave notion to refactor after prometheus upgrade
2022-07-27 16:48:56 +05:00
Evgeny Kuzhelev
47c72e6f35
remove all (currently existing) collection volume metrics
2022-07-27 16:31:49 +05:00
zzq09494
62f74f5e3c
add bucket label to s3 prometheus metrics
2022-06-16 13:21:25 +08:00
zhihao.qu
42d04c581b
feat(filer.sync): add metricsServer in filer.sync.
...
Metrics include:
(1) the offset of the filer.sync
(2) the last send timestamp of the filer subscription
2022-06-15 11:33:18 +08:00
Konstantin Lebedev
fb57aa431c
stats master_replica_placement_mismatch
2022-06-10 15:30:40 +05:00
chrislu
433fde4b18
move error to a separate file
...
This file contains metric names for all errors
The naming convention is ErrorSomeThing = "error.some.thing"
2022-02-04 22:57:51 -08:00
Konstantin Lebedev
5c9259fa3c
fix metrics master name
2022-01-25 14:42:47 +05:00