]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 years agocommon: write more of unit test, leave base_counters out of cache wip-rgw-labeled-perf-counters-cache
Ali Maredia [Mon, 5 Dec 2022 21:29:43 +0000 (16:29 -0500)]
common: write more of unit test, leave base_counters out of cache

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2 years agorgw: finish adding the bool config var for perf counters cache
Ali Maredia [Sun, 4 Dec 2022 22:42:39 +0000 (17:42 -0500)]
rgw: finish adding the bool config var for perf counters cache

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2 years agoperf counters cache: beging next testing/cleanup todo
Ali Maredia [Sun, 4 Dec 2022 20:36:52 +0000 (15:36 -0500)]
perf counters cache: beging next testing/cleanup todo

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2 years agocommon: move config vars to global, add cache eviction
Ali Maredia [Thu, 1 Dec 2022 00:37:34 +0000 (19:37 -0500)]
common: move config vars to global, add cache eviction

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2 years agocommon: move base counters out of labeled perf counters
Ali Maredia [Wed, 30 Nov 2022 14:00:52 +0000 (09:00 -0500)]
common: move base counters out of labeled perf counters

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2 years agocommon: set base counters as labeled not normal
Ali Maredia [Fri, 11 Nov 2022 18:29:38 +0000 (13:29 -0500)]
common: set base counters as labeled not normal

this is just for a test

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2 years agocommon: remove labeled perf counters classes
Ali Maredia [Wed, 9 Nov 2022 21:55:33 +0000 (16:55 -0500)]
common: remove labeled perf counters classes

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2 years agocommon: fix perf counters dumping logic
Ali Maredia [Wed, 9 Nov 2022 21:24:30 +0000 (16:24 -0500)]
common: fix perf counters dumping logic

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2 years agocommon: begin to merge labeled counters to perf counters
Ali Maredia [Tue, 8 Nov 2022 21:43:19 +0000 (16:43 -0500)]
common: begin to merge labeled counters to perf counters

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2 years agocommon: add more operations to perfcounters cache
Ali Maredia [Mon, 7 Nov 2022 21:41:10 +0000 (16:41 -0500)]
common: add more operations to perfcounters cache

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2 years agocommon: add base counters for perf counters cache
Ali Maredia [Thu, 3 Nov 2022 20:52:46 +0000 (16:52 -0400)]
common: add base counters for perf counters cache

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2 years agocommon: schema dumps only dumped editted labeled perf counters
Ali Maredia [Mon, 31 Oct 2022 19:33:08 +0000 (15:33 -0400)]
common: schema dumps only dumped editted labeled perf counters

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2 years agocommon: remove test play around program
Ali Maredia [Fri, 28 Oct 2022 12:32:57 +0000 (08:32 -0400)]
common: remove test play around program

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2 years agocommon: more cleanup and rebase
Ali Maredia [Fri, 28 Oct 2022 12:29:23 +0000 (08:29 -0400)]
common: more cleanup and rebase

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2 years agocommon: cleanup for previous commit
Ali Maredia [Fri, 28 Oct 2022 12:18:23 +0000 (08:18 -0400)]
common: cleanup for previous commit

branch ready for more eyes, v1 of branch close.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2 years agocommon: passing function around, will cleanup commit
Ali Maredia [Fri, 28 Oct 2022 11:46:15 +0000 (07:46 -0400)]
common: passing function around, will cleanup commit

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2 years agocommon: fix compile issues with labeled_perf_counters
Ali Maredia [Thu, 27 Oct 2022 04:30:24 +0000 (00:30 -0400)]
common: fix compile issues with labeled_perf_counters

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2 years agocommon: removed old perfcounters cache code, minor adjustments
Ali Maredia [Fri, 21 Oct 2022 06:52:26 +0000 (02:52 -0400)]
common: removed old perfcounters cache code, minor adjustments

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2 years agocommon: in before delete of intrusive based perfcounters cache
Ali Maredia [Fri, 21 Oct 2022 06:00:51 +0000 (02:00 -0400)]
common: in before delete of intrusive based perfcounters cache

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2 years agocommon: now passing in plb to perfcounters cache cstr
Ali Maredia [Fri, 21 Oct 2022 02:29:39 +0000 (22:29 -0400)]
common: now passing in plb to perfcounters cache cstr

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2 years agocommon: revert changes to perf_counters.cc
Ali Maredia [Thu, 20 Oct 2022 17:18:57 +0000 (13:18 -0400)]
common: revert changes to perf_counters.cc

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2 years agocommon: have perf_counters_cache use labeled_perfcounters
Ali Maredia [Thu, 20 Oct 2022 17:16:51 +0000 (13:16 -0400)]
common: have perf_counters_cache use labeled_perfcounters

2 years agocommon: created labeled perf counters instead of normal ones
Ali Maredia [Thu, 20 Oct 2022 03:15:56 +0000 (23:15 -0400)]
common: created labeled perf counters instead of normal ones

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2 years agocommon: add a prio of 8 to rgw perf counters for now
Ali Maredia [Wed, 19 Oct 2022 18:37:48 +0000 (14:37 -0400)]
common: add a prio of 8 to rgw perf counters for now

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2 years agocommon: add a dump command for labeled perfcounters
Ali Maredia [Wed, 19 Oct 2022 18:31:02 +0000 (14:31 -0400)]
common: add a dump command for labeled perfcounters

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2 years agocommon: add default constructor to label_list_iterator
Ali Maredia [Mon, 26 Sep 2022 19:22:47 +0000 (15:22 -0400)]
common: add default constructor to label_list_iterator

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2 years agocommon: comment out static_asserts for output iterators for centos 8 builds
Ali Maredia [Mon, 26 Sep 2022 19:01:31 +0000 (15:01 -0400)]
common: comment out static_asserts for output iterators for centos 8 builds

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2 years agorgw: Add get bytes for labeled perf counters
Ali Maredia [Mon, 19 Sep 2022 06:08:53 +0000 (02:08 -0400)]
rgw: Add get bytes for labeled perf counters

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2 years agorgw: integrate perf counters cache
Ali Maredia [Mon, 19 Sep 2022 03:49:32 +0000 (23:49 -0400)]
rgw: integrate perf counters cache

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2 years agocommon: PerfCountersCache using intrusive_lru
Ali Maredia [Tue, 19 Jul 2022 21:39:02 +0000 (17:39 -0400)]
common: PerfCountersCache using intrusive_lru

This cache is meant to hold labeled perf counters

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2 years agocommon: ceph::perf_counters::cache_key_insert()
Casey Bodley [Wed, 17 Aug 2022 23:55:25 +0000 (19:55 -0400)]
common: ceph::perf_counters::cache_key_insert()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 years agocommon: ceph::perf_counters::make_cache_key()
Casey Bodley [Wed, 17 Aug 2022 13:27:42 +0000 (09:27 -0400)]
common: ceph::perf_counters::make_cache_key()

a flat representation of a set of prometheus labels, returned as a
std::string. this string can either be used for sorting an ordered
container of perf counters, or for hashing an unordered container

use a variadic template to initialize a temporary array for sorting

use rvalue-ref to c array instead of variadic template

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #47582 from snosratiershad/docs/correct-add-system-user-to-the...
zdover23 [Fri, 28 Oct 2022 11:14:03 +0000 (21:14 +1000)]
Merge pull request #47582 from snosratiershad/docs/correct-add-system-user-to-the-master-zone-command

docs: correct add system user to the master zone command

Reviewed-by: Zac Dover <zac.dover@gmail.com>