Hello, has anyone here successfully integrated Gro...
# ask-questions
a
Hello, has anyone here successfully integrated GrowthBook with New relic? We have tried using the webhooks, however, since new relic requires some custom payload params (unlike datadog) we are having a few issues. Thanks
g
Do you want to share what new relic's payload looks like.. And also the Webhook you've tried.
a
Hello @gorgeous-honey-15119 here is the payload we're currently sending
Copy code
{
  "object": "feature",
  "event": "feature.created",
  "data": {
    "current": {
      "id": "broadcast-realtime",
      "description": "",
      "archived": false,
      "dateCreated": "2024-10-15T13:37:51.860Z",
      "dateUpdated": "2024-10-15T13:37:51.860Z",
      "defaultValue": "true",
      "environments": {
        "development": {
          "enabled": true,
          "defaultValue": "true",
          "rules": [],
          "definition": "{\"defaultValue\":true,\"project\":\"\"}"
        },
        "test": {
          "enabled": false,
          "defaultValue": "true",
          "rules": []
        },
        "apollo": {
          "enabled": false,
          "defaultValue": "true",
          "rules": []
        },
        "athena": {
          "enabled": false,
          "defaultValue": "true",
          "rules": []
        },
        "poseidon": {
          "enabled": false,
          "defaultValue": "true",
          "rules": []
        },
        "zeus": {
          "enabled": false,
          "defaultValue": "true",
          "rules": []
        },
        "artemis": {
          "enabled": true,
          "defaultValue": "true",
          "rules": [],
          "definition": "{\"defaultValue\":true,\"project\":\"\"}"
        },
        "ares": {
          "enabled": false,
          "defaultValue": "true",
          "rules": []
        },
        "demeter": {
          "enabled": false,
          "defaultValue": "true",
          "rules": []
        },
        "hera": {
          "enabled": false,
          "defaultValue": "true",
          "rules": []
        },
        "sandbox": {
          "enabled": false,
          "defaultValue": "true",
          "rules": []
        },
        "staging": {
          "enabled": false,
          "defaultValue": "true",
          "rules": []
        },
        "prod": {
          "enabled": false,
          "defaultValue": "true",
          "rules": []
        },
        "lt": {
          "enabled": false,
          "defaultValue": "true",
          "rules": []
        }
      },
      "owner": "fname",
      "project": "",
      "tags": [],
      "valueType": "boolean",
      "revision": {
        "comment": "",
        "date": "2024-10-15T13:37:51.874Z",
        "publishedBy": "fname",
        "version": 1
      }
    }
  },
  "user": {
    "type": "dashboard",
    "id": "uid",
    "email": "<mailto:fname.lname@thrivelearning.com|fname.lname@thrivelearning.com>",
    "name": "fname"
  },
  "projects": [
    ""
  ],
  "tags": [],
  "environments": [
    "development",
    "artemis"
  ],
  "containsSecrets": false
}
We want to send another field
"eventType":"growthBook"
for it to work with the newrelic integration. More info : https://docs.newrelic.com/docs/data-apis/ingest-apis/event-api/introduction-event-api/ Thanks