Move bookkeeper-stats and bookkeeper-stats-providers as submodules of stats
authorZhangJian He <shoothzj@gmail.com>
Thu, 28 Apr 2022 23:00:53 +0000 (07:00 +0800)
committerGitHub <noreply@github.com>
Thu, 28 Apr 2022 23:00:53 +0000 (16:00 -0700)
commit80ca1f834c9ec5054b6d8757d98126759b9292b4
treea57f052159be2d197c8db88452f741ab64385a1a
parent4175088c8f71b5f167e95a2f495377d7a0804eab
Move bookkeeper-stats and bookkeeper-stats-providers as submodules of stats

### Motiviations
Fix todo to make the project layout more reasonable and easier to fix bug/dev new feature
### Changes
move `bookkeeper-stats` and `bookkeeper-stats-providers` as submodules of `stats`

Reviewers: Enrico Olivelli <eolivelli@gmail.com>, Nicolò Boschi <boschi1997@gmail.com>, Andrey Yegorov <None>

This closes #3246 from Shoothzj/module-04-25
72 files changed:
bookkeeper-benchmark/build.gradle
bookkeeper-common/build.gradle
bookkeeper-dist/all/build.gradle
bookkeeper-dist/bkctl/build.gradle
bookkeeper-dist/server/build.gradle
bookkeeper-server/build.gradle
build.gradle
metadata-drivers/etcd/build.gradle
microbenchmarks/build.gradle
pom.xml
settings.gradle
stats/bookkeeper-stats-api/build.gradle [moved from bookkeeper-stats/build.gradle with 100% similarity]
stats/bookkeeper-stats-api/pom.xml [moved from bookkeeper-stats/pom.xml with 96% similarity]
stats/bookkeeper-stats-api/src/main/java/org/apache/bookkeeper/stats/CachingStatsLogger.java [moved from bookkeeper-stats/src/main/java/org/apache/bookkeeper/stats/CachingStatsLogger.java with 100% similarity]
stats/bookkeeper-stats-api/src/main/java/org/apache/bookkeeper/stats/CachingStatsProvider.java [moved from bookkeeper-stats/src/main/java/org/apache/bookkeeper/stats/CachingStatsProvider.java with 100% similarity]
stats/bookkeeper-stats-api/src/main/java/org/apache/bookkeeper/stats/Counter.java [moved from bookkeeper-stats/src/main/java/org/apache/bookkeeper/stats/Counter.java with 100% similarity]
stats/bookkeeper-stats-api/src/main/java/org/apache/bookkeeper/stats/Gauge.java [moved from bookkeeper-stats/src/main/java/org/apache/bookkeeper/stats/Gauge.java with 100% similarity]
stats/bookkeeper-stats-api/src/main/java/org/apache/bookkeeper/stats/NullStatsLogger.java [moved from bookkeeper-stats/src/main/java/org/apache/bookkeeper/stats/NullStatsLogger.java with 100% similarity]
stats/bookkeeper-stats-api/src/main/java/org/apache/bookkeeper/stats/NullStatsProvider.java [moved from bookkeeper-stats/src/main/java/org/apache/bookkeeper/stats/NullStatsProvider.java with 100% similarity]
stats/bookkeeper-stats-api/src/main/java/org/apache/bookkeeper/stats/OpStatsData.java [moved from bookkeeper-stats/src/main/java/org/apache/bookkeeper/stats/OpStatsData.java with 100% similarity]
stats/bookkeeper-stats-api/src/main/java/org/apache/bookkeeper/stats/OpStatsLogger.java [moved from bookkeeper-stats/src/main/java/org/apache/bookkeeper/stats/OpStatsLogger.java with 100% similarity]
stats/bookkeeper-stats-api/src/main/java/org/apache/bookkeeper/stats/Stats.java [moved from bookkeeper-stats/src/main/java/org/apache/bookkeeper/stats/Stats.java with 100% similarity]
stats/bookkeeper-stats-api/src/main/java/org/apache/bookkeeper/stats/StatsLogger.java [moved from bookkeeper-stats/src/main/java/org/apache/bookkeeper/stats/StatsLogger.java with 100% similarity]
stats/bookkeeper-stats-api/src/main/java/org/apache/bookkeeper/stats/StatsProvider.java [moved from bookkeeper-stats/src/main/java/org/apache/bookkeeper/stats/StatsProvider.java with 100% similarity]
stats/bookkeeper-stats-api/src/main/java/org/apache/bookkeeper/stats/ThreadRegistry.java [moved from bookkeeper-stats/src/main/java/org/apache/bookkeeper/stats/ThreadRegistry.java with 100% similarity]
stats/bookkeeper-stats-api/src/main/java/org/apache/bookkeeper/stats/annotations/StatsDoc.java [moved from bookkeeper-stats/src/main/java/org/apache/bookkeeper/stats/annotations/StatsDoc.java with 100% similarity]
stats/bookkeeper-stats-api/src/main/java/org/apache/bookkeeper/stats/annotations/package-info.java [moved from bookkeeper-stats/src/main/java/org/apache/bookkeeper/stats/annotations/package-info.java with 100% similarity]
stats/bookkeeper-stats-api/src/main/java/org/apache/bookkeeper/stats/package-info.java [moved from bookkeeper-stats/src/main/java/org/apache/bookkeeper/stats/package-info.java with 100% similarity]
stats/bookkeeper-stats-providers/codahale-metrics-provider/build.gradle [moved from bookkeeper-stats-providers/codahale-metrics-provider/build.gradle with 96% similarity]
stats/bookkeeper-stats-providers/codahale-metrics-provider/pom.xml [moved from bookkeeper-stats-providers/codahale-metrics-provider/pom.xml with 94% similarity]
stats/bookkeeper-stats-providers/codahale-metrics-provider/src/main/java/org/apache/bookkeeper/stats/codahale/CodahaleMetricsProvider.java [moved from bookkeeper-stats-providers/codahale-metrics-provider/src/main/java/org/apache/bookkeeper/stats/codahale/CodahaleMetricsProvider.java with 100% similarity]
stats/bookkeeper-stats-providers/codahale-metrics-provider/src/main/java/org/apache/bookkeeper/stats/codahale/CodahaleOpStatsLogger.java [moved from bookkeeper-stats-providers/codahale-metrics-provider/src/main/java/org/apache/bookkeeper/stats/codahale/CodahaleOpStatsLogger.java with 100% similarity]
stats/bookkeeper-stats-providers/codahale-metrics-provider/src/main/java/org/apache/bookkeeper/stats/codahale/CodahaleStatsLogger.java [moved from bookkeeper-stats-providers/codahale-metrics-provider/src/main/java/org/apache/bookkeeper/stats/codahale/CodahaleStatsLogger.java with 100% similarity]
stats/bookkeeper-stats-providers/codahale-metrics-provider/src/main/java/org/apache/bookkeeper/stats/codahale/FastCodahaleMetricsProvider.java [moved from bookkeeper-stats-providers/codahale-metrics-provider/src/main/java/org/apache/bookkeeper/stats/codahale/FastCodahaleMetricsProvider.java with 100% similarity]
stats/bookkeeper-stats-providers/codahale-metrics-provider/src/main/java/org/apache/bookkeeper/stats/codahale/FastCodahaleStatsLogger.java [moved from bookkeeper-stats-providers/codahale-metrics-provider/src/main/java/org/apache/bookkeeper/stats/codahale/FastCodahaleStatsLogger.java with 100% similarity]
stats/bookkeeper-stats-providers/codahale-metrics-provider/src/main/java/org/apache/bookkeeper/stats/codahale/FastSnapshot.java [moved from bookkeeper-stats-providers/codahale-metrics-provider/src/main/java/org/apache/bookkeeper/stats/codahale/FastSnapshot.java with 100% similarity]
stats/bookkeeper-stats-providers/codahale-metrics-provider/src/main/java/org/apache/bookkeeper/stats/codahale/FastTimer.java [moved from bookkeeper-stats-providers/codahale-metrics-provider/src/main/java/org/apache/bookkeeper/stats/codahale/FastTimer.java with 100% similarity]
stats/bookkeeper-stats-providers/codahale-metrics-provider/src/main/java/org/apache/bookkeeper/stats/codahale/package-info.java [moved from bookkeeper-stats-providers/codahale-metrics-provider/src/main/java/org/apache/bookkeeper/stats/codahale/package-info.java with 100% similarity]
stats/bookkeeper-stats-providers/codahale-metrics-provider/src/main/java/org/apache/bookkeeper/stats/package-info.java [moved from bookkeeper-stats-providers/codahale-metrics-provider/src/main/java/org/apache/bookkeeper/stats/package-info.java with 100% similarity]
stats/bookkeeper-stats-providers/codahale-metrics-provider/src/test/java/org/apache/bookkeeper/stats/codahale/CodahaleOpStatsTest.java [moved from bookkeeper-stats-providers/codahale-metrics-provider/src/test/java/org/apache/bookkeeper/stats/codahale/CodahaleOpStatsTest.java with 100% similarity]
stats/bookkeeper-stats-providers/codahale-metrics-provider/src/test/java/org/apache/bookkeeper/stats/codahale/FastTimerTest.java [moved from bookkeeper-stats-providers/codahale-metrics-provider/src/test/java/org/apache/bookkeeper/stats/codahale/FastTimerTest.java with 100% similarity]
stats/bookkeeper-stats-providers/pom.xml [moved from bookkeeper-stats-providers/pom.xml with 92% similarity]
stats/bookkeeper-stats-providers/prometheus-metrics-provider/build.gradle [moved from bookkeeper-stats-providers/prometheus-metrics-provider/build.gradle with 96% similarity]
stats/bookkeeper-stats-providers/prometheus-metrics-provider/pom.xml [moved from bookkeeper-stats-providers/prometheus-metrics-provider/pom.xml with 95% similarity]
stats/bookkeeper-stats-providers/prometheus-metrics-provider/src/main/java/org/apache/bookkeeper/stats/prometheus/DataSketchesOpStatsLogger.java [moved from bookkeeper-stats-providers/prometheus-metrics-provider/src/main/java/org/apache/bookkeeper/stats/prometheus/DataSketchesOpStatsLogger.java with 100% similarity]
stats/bookkeeper-stats-providers/prometheus-metrics-provider/src/main/java/org/apache/bookkeeper/stats/prometheus/LongAdderCounter.java [moved from bookkeeper-stats-providers/prometheus-metrics-provider/src/main/java/org/apache/bookkeeper/stats/prometheus/LongAdderCounter.java with 100% similarity]
stats/bookkeeper-stats-providers/prometheus-metrics-provider/src/main/java/org/apache/bookkeeper/stats/prometheus/PrometheusMetricsProvider.java [moved from bookkeeper-stats-providers/prometheus-metrics-provider/src/main/java/org/apache/bookkeeper/stats/prometheus/PrometheusMetricsProvider.java with 100% similarity]
stats/bookkeeper-stats-providers/prometheus-metrics-provider/src/main/java/org/apache/bookkeeper/stats/prometheus/PrometheusServlet.java [moved from bookkeeper-stats-providers/prometheus-metrics-provider/src/main/java/org/apache/bookkeeper/stats/prometheus/PrometheusServlet.java with 100% similarity]
stats/bookkeeper-stats-providers/prometheus-metrics-provider/src/main/java/org/apache/bookkeeper/stats/prometheus/PrometheusStatsLogger.java [moved from bookkeeper-stats-providers/prometheus-metrics-provider/src/main/java/org/apache/bookkeeper/stats/prometheus/PrometheusStatsLogger.java with 100% similarity]
stats/bookkeeper-stats-providers/prometheus-metrics-provider/src/main/java/org/apache/bookkeeper/stats/prometheus/PrometheusTextFormat.java [moved from bookkeeper-stats-providers/prometheus-metrics-provider/src/main/java/org/apache/bookkeeper/stats/prometheus/PrometheusTextFormat.java with 100% similarity]
stats/bookkeeper-stats-providers/prometheus-metrics-provider/src/main/java/org/apache/bookkeeper/stats/prometheus/ScopeContext.java [moved from bookkeeper-stats-providers/prometheus-metrics-provider/src/main/java/org/apache/bookkeeper/stats/prometheus/ScopeContext.java with 100% similarity]
stats/bookkeeper-stats-providers/prometheus-metrics-provider/src/main/java/org/apache/bookkeeper/stats/prometheus/SimpleGauge.java [moved from bookkeeper-stats-providers/prometheus-metrics-provider/src/main/java/org/apache/bookkeeper/stats/prometheus/SimpleGauge.java with 100% similarity]
stats/bookkeeper-stats-providers/prometheus-metrics-provider/src/main/java/org/apache/bookkeeper/stats/prometheus/ThreadScopedDataSketchesStatsLogger.java [moved from bookkeeper-stats-providers/prometheus-metrics-provider/src/main/java/org/apache/bookkeeper/stats/prometheus/ThreadScopedDataSketchesStatsLogger.java with 100% similarity]
stats/bookkeeper-stats-providers/prometheus-metrics-provider/src/main/java/org/apache/bookkeeper/stats/prometheus/ThreadScopedLongAdderCounter.java [moved from bookkeeper-stats-providers/prometheus-metrics-provider/src/main/java/org/apache/bookkeeper/stats/prometheus/ThreadScopedLongAdderCounter.java with 100% similarity]
stats/bookkeeper-stats-providers/prometheus-metrics-provider/src/main/java/org/apache/bookkeeper/stats/prometheus/package-info.java [moved from bookkeeper-stats-providers/prometheus-metrics-provider/src/main/java/org/apache/bookkeeper/stats/prometheus/package-info.java with 100% similarity]
stats/bookkeeper-stats-providers/prometheus-metrics-provider/src/test/java/org/apache/bookkeeper/stats/prometheus/PrometheusTextFormatTest.java [moved from bookkeeper-stats-providers/prometheus-metrics-provider/src/test/java/org/apache/bookkeeper/stats/prometheus/PrometheusTextFormatTest.java with 100% similarity]
stats/bookkeeper-stats-providers/prometheus-metrics-provider/src/test/java/org/apache/bookkeeper/stats/prometheus/TestPrometheusFormatter.java [moved from bookkeeper-stats-providers/prometheus-metrics-provider/src/test/java/org/apache/bookkeeper/stats/prometheus/TestPrometheusFormatter.java with 100% similarity]
stats/bookkeeper-stats-providers/prometheus-metrics-provider/src/test/java/org/apache/bookkeeper/stats/prometheus/TestPrometheusMetricsProvider.java [moved from bookkeeper-stats-providers/prometheus-metrics-provider/src/test/java/org/apache/bookkeeper/stats/prometheus/TestPrometheusMetricsProvider.java with 100% similarity]
stats/pom.xml
stats/utils/build.gradle
stats/utils/pom.xml
stream/bk-grpc-name-resolver/build.gradle
stream/clients/java/base/build.gradle
stream/common/build.gradle
stream/distributedlog/common/build.gradle
stream/distributedlog/core/build.gradle
stream/server/build.gradle
stream/storage/impl/build.gradle
tests/backward-compat/recovery-no-password/build.gradle
tests/integration/cluster/build.gradle
tools/ledger/build.gradle
tools/perf/build.gradle