Skip to content

Metrics from the Helm-based Artifactory instance are not being sent to Datadog. #66

@mperetzred

Description

@mperetzred

I followed the instructions for Helm-based Artifactory integration:

https://github.com/jfrog/log-analytics-datadog?tab=readme-ov-file#kubernetes-deployment-with-helm

But I don't see the metrics being shipped to Datadog.
Also can't see any indication for it in the observability container:

2025-11-05T10:59:06.771Z 35[jfob ] [INFO ] [6c1feaab286ab5c8] [bootstrap.go:284       ] [main        ] [] - Platform services enabled false [startup]
2025-11-05T10:59:06.771Z 35[jfob ] [INFO ] [6c1feaab286ab5c8] [bootstrap.go:291       ] [main        ] [] - Num of router services : 6 [startup]
2025-11-05T10:59:06.771Z 35[jfob ] [INFO ] [6c1feaab286ab5c8] [bootstrap.go:292       ] [main        ] [] - Services registered with router : [{ServiceId:jfac@01k99tmg7vjqza0yyz87hv04tp} {ServiceId:jfcon@01k99tmg7vjqza0yyz87hv04tp} {ServiceId:jfevt@01k99tmg7vjqza0yyz87hv04tp} {ServiceId:jfint@01k99tmg7vjqza0yyz87hv04tp} {ServiceId:jfmd@01k99tmqe2065dt6ezzh4kgdrg} {ServiceId:jfrt@01k99tprkhdxn61srmbayf1wbk}] [startup]
2025-11-05T10:59:06.771Z 35[jfob ] [INFO ] [6c1feaab286ab5c8] [bootstrap.go:320       ] [main        ] [] - Obtained parent instance Id: [startup]
2025-11-05T10:59:06.771Z 35[jfob ] [INFO ] [6c1feaab286ab5c8] [bootstrap.go:320       ] [main        ] [] - Obtained parent instance Id: [startup]
2025-11-05T10:59:06.771Z 35[jfob ] [INFO ] [6c1feaab286ab5c8] [bootstrap.go:320       ] [main        ] [] - Obtained parent instance Id: [startup]
2025-11-05T10:59:06.771Z 35[jfob ] [INFO ] [6c1feaab286ab5c8] [bootstrap.go:320       ] [main        ] [] - Obtained parent instance Id: [startup]
2025-11-05T10:59:06.771Z 35[jfob ] [INFO ] [6c1feaab286ab5c8] [bootstrap.go:320       ] [main        ] [] - Obtained parent instance Id: [startup]
2025-11-05T10:59:06.771Z 35[jfob ] [INFO ] [6c1feaab286ab5c8] [bootstrap.go:320       ] [main        ] [] - Obtained parent instance Id: 01k99tprkhdxn61srmbayf1wbk [startup]
2025-11-05T10:59:06.772Z 35[jfob ] [INFO ] [6c1feaab286ab5c8] [bootstrap.go:89       ] [main        ] [] - JFrog Observability Service ID: jfob@01k99tprkhdxn61srmbayf1wbk [startup]
2025-11-05T10:59:06.772Z 35[jfob ] [INFO ] [6c1feaab286ab5c8] [bootstrap.go:90       ] [main        ] [] - JFrog Observability Node ID : cnv-qe-artifactory2-0 [startup]
2025-11-05T10:59:06.772Z 35[jfob ] [INFO ] [6c1feaab286ab5c8] [bootstrap.go:91       ] [main        ] [] - JFrog Observability Node IP : 10.129.2.63 [startup]
2025-11-05T10:59:06.787Z 35[jfob ] [INFO ] [6c1feaab286ab5c8] [application.go:84      ] [main        ] [] - Is service running as Multi tenant? false [application]
2025-11-05T10:59:07.239Z 35[jfob ] [INFO ] [6c1feaab286ab5c8] [access_join.go:48      ] [main        ] [] - Cluster join: Successfully joined the cluster [application]
2025-11-05T10:59:07.240Z 35[jfob ] [INFO ] [6c1feaab286ab5c8] [access_join.go:48      ] [main        ] [] - Cluster join: executing Router register at: localhost:8046 for service id jfob@01k99tprkhdxn61srmbayf1wbk [application]
[DEBUG] Waiting for shipping service to close
2025-11-05T10:59:07.323Z 35[jfob ] [INFO ] [6c1feaab286ab5c8] [application.go:144      ] [main        ] [] - JFrog Observability (jfob) service initialization completed in 190.904 seconds. HTTP server listening on 127.0.0.1:8036. [application]
2025-11-05T10:59:07.329Z 35[jfob ] [INFO ] [6c1feaab286ab5c8] [shipping_service.go:234   ] [main        ] [] - Product name resolved as : artifactory [shipping_service]
2025-11-05T10:59:07.329Z 35[jfob ] [INFO ] [6c1feaab286ab5c8] [shipping_service.go:257   ] [main        ] [] - Log shipping Duration Interval 1m0s and Consumption Duration Interval 1m0s [shipping_service]

system.yaml:

bash-5.1$ cat /var/opt/jfrog/artifactory/etc/system.yaml
router:
  serviceRegistry:
    insecure: false
shared:
  metrics:
    enabled: true
  logging:
    consoleLog:
      enabled: false
  extraJavaOpts: >
    -Dartifactory.graceful.shutdown.max.request.duration.millis=30000 -Dartifactory.access.client.max.connections=50
  database:
    type: "postgresql"
    driver: "org.postgresql.Driver"
artifactory:
  database:
    maxOpenConnections: 80
  tomcat:
    maintenanceConnector:
      port: 8091
    connector:
      maxThreads: 200
      sendReasonPhrase: false
      extraConfig: acceptCount="100"
frontend:
  session:
    timeMinutes: "30"
access:
  database:
    maxOpenConnections: 80
  tomcat:
    connector:
      maxThreads: 50
      sendReasonPhrase: false
      extraConfig: acceptCount="100"
metadata:
  database:
    maxOpenConnections: 80
jfconnect:
  enabled: true

helm command executed:

helm upgrade --install cnv-qe-artifactory2 --namespace cnv-qe -f /home/centos/git/artifactory/scripts/../helm/values-artifactory.yaml -f /home/centos/git/artifactory/scripts/../secrets/tlv2.yaml --set datadog.api_key=<access-key> --set datadog.api_host=datadoghq.eu --set datadog.compress_data=true --set datadog.verify_ssl=true --set jfrog.observability.jpd_url=localhost:8082 --set jfrog.observability.username=ci-bot-admin --set jfrog.observability.common_jpd=false --set jfrog.observability.log_env=tlv2 --set artifactory.metrics.enabled=true --set artifactory.openMetrics.enabled=true --repo https://charts.jfrog.io/ --version 107.63.12 artifactory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions