Skip to content

Changes

Summary

  1. #1806 make a common metric prefix configurable for all gathered Ditto custom metrics (commit: 9a28a35) (details)
  2. #1806 provide configuration for operator defined custom metrics (commit: 40e1e83) (details)
  3. #1806 provide Helm configuration for metric prefix and custom metrics (commit: 1e34080) (details)
  4. #1806 provide documentation (commit: b04fe80) (details)
  5. #1806 added missing param javadoc (commit: 71fe6dd) (details)
  6. #1806 bumped chart version to pass linting (commit: 459376e) (details)
Commit 9a28a35143724ac0a9b30c95c3c55600cc036b3c by Thomas Jaeckle
#1806 make a common metric prefix configurable for all gathered Ditto custom metrics

Signed-off-by: Thomas Jäckle <thomas.jaeckle@beyonnex.io>
(commit: 9a28a35)
The file was addedinternal/utils/metrics/src/main/java/org/eclipse/ditto/internal/utils/metrics/config/package-info.java
The file was modified base/service/src/main/java/org/eclipse/ditto/base/service/config/limits/DefaultLimitsConfig.java (diff)
The file was modified internal/utils/metrics/src/main/java/org/eclipse/ditto/internal/utils/metrics/config/MetricsConfig.java (diff)
The file was modified internal/utils/metrics/src/main/java/org/eclipse/ditto/internal/utils/metrics/instruments/timer/PreparedKamonTimer.java (diff)
The file was modified internal/utils/config/src/main/resources/ditto-metrics.conf (diff)
The file was modified internal/utils/metrics/src/main/java/org/eclipse/ditto/internal/utils/metrics/config/DefaultMetricsConfig.java (diff)
The file was modified base/service/src/main/java/org/eclipse/ditto/base/service/DittoService.java (diff)
The file was modified internal/utils/metrics/src/main/java/org/eclipse/ditto/internal/utils/metrics/instruments/gauge/KamonGauge.java (diff)
The file was modified internal/utils/metrics/src/main/java/org/eclipse/ditto/internal/utils/metrics/instruments/histogram/KamonHistogram.java (diff)
The file was modified base/model/src/main/java/org/eclipse/ditto/base/model/common/DittoSystemProperties.java (diff)
The file was modified internal/utils/metrics/src/main/java/org/eclipse/ditto/internal/utils/metrics/instruments/counter/KamonCounter.java (diff)
Commit 40e1e83ab0d2aaa9205aa6a32a19c1391b79b21c by Thomas Jaeckle
#1806 provide configuration for operator defined custom metrics

* add new as singleton started Actor OperatorMetricsProviderActor responsible for gathering the metrics and reporting via DittoMetrics gauges
* provide configuration options for scrape-interval, namespaces to count and and RQL filter to apply, including optional tags to add to gauges
* provide example in configuration

Signed-off-by: Thomas Jäckle <thomas.jaeckle@beyonnex.io>
(commit: 40e1e83)
The file was modified thingsearch/service/src/main/java/org/eclipse/ditto/thingsearch/service/common/config/DittoSearchConfig.java (diff)
The file was addedthingsearch/service/src/main/java/org/eclipse/ditto/thingsearch/service/starter/actors/OperatorMetricsProviderActor.java
The file was modified thingsearch/service/src/main/java/org/eclipse/ditto/thingsearch/service/starter/actors/SearchRootActor.java (diff)
The file was modified thingsearch/model/src/main/java/org/eclipse/ditto/thingsearch/model/signals/commands/query/CountThings.java (diff)
The file was addedthingsearch/service/src/main/java/org/eclipse/ditto/thingsearch/service/common/config/DefaultOperatorMetricsConfig.java
The file was modified thingsearch/service/src/main/java/org/eclipse/ditto/thingsearch/service/common/config/SearchConfig.java (diff)
The file was modified thingsearch/service/src/main/java/org/eclipse/ditto/thingsearch/service/persistence/query/QueryParser.java (diff)
The file was modified thingsearch/service/src/main/java/org/eclipse/ditto/thingsearch/service/starter/actors/SearchActor.java (diff)
The file was modified thingsearch/service/src/main/resources/search.conf (diff)
The file was addedthingsearch/service/src/main/java/org/eclipse/ditto/thingsearch/service/common/config/DefaultCustomMetricConfig.java
The file was modified thingsearch/service/src/main/java/org/eclipse/ditto/thingsearch/service/updater/actors/SearchUpdaterRootActor.java (diff)
The file was modified thingsearch/api/src/main/java/org/eclipse/ditto/thingsearch/api/commands/sudo/SudoCountThings.java (diff)
The file was modified thingsearch/service/src/test/java/org/eclipse/ditto/thingsearch/service/starter/config/DittoSearchConfigTest.java (diff)
The file was modified thingsearch/service/src/test/java/org/eclipse/ditto/thingsearch/service/starter/actors/SearchUpdaterRootActorTest.java (diff)
The file was modified thingsearch/service/src/main/resources/search-dev.conf (diff)
The file was addedthingsearch/service/src/main/java/org/eclipse/ditto/thingsearch/service/common/config/CustomMetricConfig.java
The file was addedthingsearch/service/src/main/java/org/eclipse/ditto/thingsearch/service/common/config/OperatorMetricsConfig.java
Commit 1e34080ba1cd0e2e22d066ee43ee025bad153da1 by Thomas Jaeckle
#1806 provide Helm configuration for metric prefix and custom metrics

Signed-off-by: Thomas Jäckle <thomas.jaeckle@beyonnex.io>
(commit: 1e34080)
The file was modified .github/workflows/helm-chart.yml (diff)
The file was modified deployment/helm/ditto/templates/gateway-deployment.yaml (diff)
The file was modified deployment/helm/ditto/templates/policies-deployment.yaml (diff)
The file was modified deployment/helm/ditto/templates/connectivity-deployment.yaml (diff)
The file was modified deployment/helm/ditto/templates/thingssearch-deployment.yaml (diff)
The file was modified thingsearch/service/src/main/resources/search.conf (diff)
The file was modified deployment/helm/ditto/values.yaml (diff)
The file was modified deployment/helm/ditto/templates/things-deployment.yaml (diff)
Commit b04fe801477f70a48a7f7cea02fe4b6fab3d2de0 by Thomas Jaeckle
#1806 provide documentation

Signed-off-by: Thomas Jäckle <thomas.jaeckle@beyonnex.io>
(commit: b04fe80)
The file was modified documentation/src/main/resources/pages/ditto/installation-operating.md (diff)
Commit 71fe6dde41e579018d71f312e60afcaf1c6fc029 by Thomas Jaeckle
#1806 added missing param javadoc
(commit: 71fe6dd)
The file was modified thingsearch/api/src/main/java/org/eclipse/ditto/thingsearch/api/commands/sudo/SudoCountThings.java (diff)
Commit 459376e4012364465deeae3b868743a8fa7a6b4b by Thomas Jaeckle
#1806 bumped chart version to pass linting
(commit: 459376e)
The file was modified deployment/helm/ditto/Chart.yaml (diff)