cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Datadog MetricTransformer Error

Hi,

I'm receiving the error bellow using the Datadog neo4j integration.

The integration version that I'm using is 2.0.0.

datadog-agent integration install -t datadog-neo4j==2.0.0

Bellow the error:

datadog-agent check neo4j --check-rate
=========
Collector
=========

Running Checks
==============

neo4j (2.0.0)
-------------
  Instance ID: neo4j:ed314223fea05485 [ERROR]
  Configuration Source: file:/etc/datadog-agent/conf.d/neo4j.d/conf.yaml
  Total Runs: 2
  Metric Samples: Last Run: 0, Total: 0
  Events: Last Run: 0, Total: 0
  Service Checks: Last Run: 0, Total: 0
  Average Execution Time : 1ms
  Last Execution Date : 2022-02-18 12:03:49 UTC (1645185829000)
  Last Successful Execution Date : Never
  Error: 'MetricTransformer' object has no attribute 'add_custom_transformer'
  Traceback (most recent call last):
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/checks/base.py", line 992, in run
      initialization()
    File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/neo4j/neo4j.py", line 69, in configure_additional_transformers
      metric_transformer.add_custom_transformer(
  AttributeError: 'MetricTransformer' object has no attribute 'add_custom_transformer'

</>

The datadog conf.yaml file:

</>
instances:

The 2004/metrics is listening. Bellow the curl of metrics link:

</>
curl http://localhost:2004/metrics

HELP neo4j_system_cypher_replan_events_total Generated from Dropwizard metric import (metric=neo4j.system.cypher.replan_events, type=com.neo4j.metrics.metric.MetricsCounter)

TYPE neo4j_system_cypher_replan_events_total counter

neo4j_system_cypher_replan_events_total 0.0

HELP neo4j_system_db_query_execution_failure_total Generated from Dropwizard metric import (metric=neo4j.system.db.query.execution.failure, type=com.codahale.metrics.Meter)

TYPE neo4j_system_db_query_execution_failure_total counter

neo4j_system_db_query_execution_failure_total 0.0

HELP neo4j_system_transaction_active_write Generated from Dropwizard metric import (metric=neo4j.system.transaction.active_write, type=com.neo4j.metrics.source.db.TransactionMetrics$$Lambda$1120/0x0000000840924c40)

TYPE neo4j_system_transaction_active_write gauge

neo4j_system_transaction_active_write 0.0

HELP neo4j_vm_pause_time Generated from Dropwizard metric import (metric=neo4j.vm.pause_time, type=com.neo4j.metrics.source.jvm.PauseMetrics$$Lambda$2538/0x0000000841a0a840)

TYPE neo4j_vm_pause_time gauge

neo4j_vm_pause_time 0.0
...
</>

I'm using the NEO4J 4.3.9 version.

What can be the issue?

0 REPLIES 0
Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

All the sessions of the conference are now available online