diff --git a/CHANGELOG.md b/CHANGELOG.md index a074cda..59e49e7 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ All changes to the log analytics integration will be documented in this file. +## [1.0.14] - April 2026 + +* Added RTFS (JFrog Artifactory Federation Service) metrics collection support in Artifactory fluentd config (JOBS-1897) +* Requires fluent-plugin-jfrog-metrics >= 0.2.16 + ## [1.0.13] - April 22, 2025 * Upgrade Splunk App to version 1.2.9. Changes are available [here](./CHANGELOG-splunkbase.md) diff --git a/README.md b/README.md index d325a17..2b7ab89 100644 --- a/README.md +++ b/README.md @@ -143,7 +143,10 @@ artifactory: Once this configuration is done and the application is restarted, metrics will be available in Open Metrics Format -Metrics are enabled by default in Xray. +:bulb: Metrics are enabled by default in Xray. + +:bulb: **RTFS Metrics**: If your Artifactory deployment includes RTFS (JFrog Artifactory Federation Service), metrics are automatically collected from the `rtfs/api/v1/metrics` endpoint. No additional configuration is required -- the fluentd config already includes an RTFS metrics source block that runs alongside the standard Artifactory metrics collection. Requires `fluent-plugin-jfrog-metrics` >= 0.2.16. + For Kubernetes-based installations, openMetrics is enabled in the helm install commands listed below ## Fluentd Installation @@ -545,6 +548,10 @@ JFrog Artifactory Dashboard is divided into multiple sections Application, Audit * **Heap Metrics** - This section tracks Heap Memory and Garbage Collection * **Connection Metrics** - This section tracks Database connections and HTTP Connections +#### JFrog RTFS Metrics + +When RTFS is deployed as part of Artifactory, RTFS metrics are collected from `rtfs/api/v1/metrics` and forwarded to Splunk with the `jfrog.rtfs` metric prefix. These metrics are available alongside standard Artifactory metrics in Splunk for monitoring RTFS-specific performance and health. + ### Xray dashboard JFrog Xray Dashboard is divided into three sections Logs, Violations and Metrics diff --git a/fluent.conf.rt b/fluent.conf.rt index 1aebd9f..3895975 100644 --- a/fluent.conf.rt +++ b/fluent.conf.rt @@ -9,6 +9,24 @@ username "#{ENV['JPD_ADMIN_USERNAME']}" token "#{ENV['JFROG_ADMIN_TOKEN']}" common_jpd "#{ENV['COMMON_JPD']}" + target_platform "SPLUNK" + # @log_level debug + # request_timeout 30s + # verify_ssl "#{ENV['SPLUNK_VERIFY_SSL']}" + +# JFROG RTFS METRICS SOURCE +# Requires fluent-plugin-jfrog-metrics >= 0.2.16 and RTFS enabled in the Artifactory deployment + + @type jfrog_metrics + @id metrics_http_rtfs + tag jfrog.metrics.rtfs + execution_interval 60s + metric_prefix 'jfrog.rtfs' + jpd_url "#{ENV['JPD_URL']}" + username "#{ENV['JPD_ADMIN_USERNAME']}" + token "#{ENV['JFROG_ADMIN_TOKEN']}" + common_jpd "#{ENV['COMMON_JPD']}" + target_platform "SPLUNK" # @log_level debug # request_timeout 30s # verify_ssl "#{ENV['SPLUNK_VERIFY_SSL']}"