aboutsummaryrefslogtreecommitdiff
path: root/weed/stats
AgeCommit message (Collapse)AuthorFilesLines
2025-07-02[volume] refactor and add metrics for flight upload and download data limit ↵Konstantin Lebedev2-2/+45
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-02-24added re-generating and writing the Volume UUID if it is empty (#6568)Aleksey Kosov1-2/+1
2025-02-17freebsd has fs.Bavail as int64chrislu1-1/+1
fix freebsd building https://github.com/seaweedfs/seaweedfs/actions/runs/13380531394/job/37368195169
2025-02-17fix: The free disk size and percentage are quite different from the output ↵zouyixiong1-1/+5
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-07fix: record and delete bucket metrics after inactive (#6523)zouyixiong1-0/+4
Co-authored-by: XYZ <XYZ>
2025-01-25Add metrics for uploaded and deleted s3 objects (#6475)Hadi Zamani1-0/+18
2025-01-16Add bucket's traffic metrics (#6444)Hadi Zamani1-0/+18
* Add bucket's traffic metrics * Add bucket traffic to dashboards * Fix bucket metrics help messages * Fix variable names
2024-12-13fix: filer may crash by bucketLastActiveTsNs concurrency access. (#6350)zouyixiong1-0/+7
2024-12-12fix: record and delete bucket metrics after inactive (#6349)zouyixiong1-5/+41
2024-11-25fix missing register master metric MasterPickForWriteErrorCounter (#6277)Konstantin Lebedev1-0/+1
2024-11-03fix deadlock hang when broadcast to clients (#6184)wyang1-0/+9
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-10-14feat: add in-flight metric for s3/file/volume-server (#6120)steve.wei1-0/+26
2024-09-23Feat:merge small chunk (#6049)zemul1-6/+8
* fix:mount deadlock * feat: merge small chunk * adjust MergeChunkMinCount * fix --------- Co-authored-by: zemul <zhouzemiao@ihuman.com>
2024-09-04[master] refactor func ShouldGrowVolumes (#5884)Konstantin Lebedev1-5/+14
2024-07-30[master] do sync grow request only if absolutely necessary (#5821)Konstantin Lebedev1-0/+8
* 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-12metrics stats of volume layout depends on the data center (#5775)Konstantin Lebedev1-1/+1
stats volume layout depends on the data center
2024-06-02Solaris disk support (#5638)Dominic Pearson5-8/+47
2024-05-23go fmtchrislu1-14/+13
2024-05-10Add support for OpenBSD (#5578)Dave St.Germain2-2/+27
Co-authored-by: Dave St.Germain <dcs@adullmoment.com>
2024-04-17rename VolumeServerVolumeGauge (#5504)steve.wei1-3/+3
2024-04-14[s3] fix s3 test_multipart_get_part (#5476)Konstantin Lebedev1-0/+1
* 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-07[s3] add s3 pass test_multipart_upload_size_too_small (#5475)Konstantin Lebedev1-2/+3
* add s3 pass test_multipart_upload_size_too_small * refactor metric names * return ErrNoSuchUpload if empty parts * fix test
2024-04-06[s3] fix s3 test_multipart_resend_first_finishes_last (#5471)Konstantin Lebedev2-1/+17
* try fix s3 test https://github.com/seaweedfs/seaweedfs/pull/5466 * add error handler metrics * refactor * refactor multipartExt * delete bad entry parts
2024-03-29[master] grow volumes if no writable volumes in current dataCenter (#5434)Konstantin Lebedev1-0/+1
* 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-22[master] add test for PickForWrite add metrics for volume layout (#5413)Konstantin Lebedev1-0/+9
2024-01-10chore: add status code for request_total metrics (#5188)Konstantin Lebedev2-0/+39
2023-11-26go fmtchrislu2-3/+2
2023-10-30Add ErrorGetNotFound and ErrorGetInternal to volume server metrics (#4960)SmsS41-0/+2
2023-10-03Revert "Revert "Revert "Add disk type to prometheus metrics" (#4777)""chrislu1-3/+4
This reverts commit 567d78892860f87c207beb56a3323b4b9e90dfc9.
2023-10-02Revert "Revert "Add disk type to prometheus metrics" (#4777)"chrislu1-4/+3
This reverts commit 9215ba24be0aec0c5804927cc73613560e57cbc0.
2023-08-24Implement SRV lookups for filer (#4767)Nico D'Cotta1-1/+0
2023-08-21Add time to first byte metric for s3 (#4768)SmsS41-0/+10
* Add time to first byte metric for s3 * Change second to millisecond
2023-08-01minor (#4723)wusong1-2/+0
2023-03-08Fix binding metrics to ipv6 (#4286)Kevin Liu1-2/+10
* Fix binding metrics to ipv6 * Update weed/stats/metrics.go --------- Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
2022-11-24[metrics] Add the ability to control bind ip (#4012)Jiffs Maverick1-2/+2
2022-10-13vacuum metrics and force sync dst files (#3832)Konstantin Lebedev1-0/+28
2022-10-07metric shows who is currently blocking the cluster or not (#3799)Konstantin Lebedev1-0/+9
* master_admin_lock Shows whether cluster is locked now or not https://github.com/seaweedfs/seaweedfs/issues/3452 * fix metric MasterAdminLock
2022-10-07configure raft metrics (#3798)Konstantin Lebedev1-20/+21
2022-08-04refactor FilerRequest metrics (#3402)Konstantin Lebedev1-6/+16
* refactor FilerRequest metrics * avoid double count proxy * defer to
2022-08-02cleanKonstantin Lebedev1-1/+0
2022-08-02alignKonstantin Lebedev1-1/+2
2022-08-02refactorKonstantin Lebedev1-0/+2
2022-07-29move to https://github.com/seaweedfs/seaweedfschrislu8-9/+9
2022-07-27leave notion to refactor after prometheus upgradeEvgeny Kuzhelev1-0/+1
2022-07-27remove all (currently existing) collection volume metricsEvgeny Kuzhelev1-0/+18
2022-06-16add bucket label to s3 prometheus metricszzq094941-2/+3
2022-06-15feat(filer.sync): add metricsServer in filer.sync.zhihao.qu1-0/+18
Metrics include: (1) the offset of the filer.sync (2) the last send timestamp of the filer subscription
2022-06-10stats master_replica_placement_mismatchKonstantin Lebedev1-0/+9
2022-02-04move error to a separate filechrislu1-0/+31
This file contains metric names for all errors The naming convention is ErrorSomeThing = "error.some.thing"
2022-01-25fix metrics master nameKonstantin Lebedev1-4/+4