Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SAASINT-3230] Vonage:Assets PR #19012

Open
wants to merge 58 commits into
base: master
Choose a base branch
from

Vonage:Assets PR V4

42b4005
Select commit
Loading
Failed to load commit list.
Open

[SAASINT-3230] Vonage:Assets PR #19012

Vonage:Assets PR V4
42b4005
Select commit
Loading
Failed to load commit list.
datadog-assets / validate-logs failed Nov 12, 2024 in 0s

Validation Results for "logs"

The "logs" assets are not valid.

Details

See individual file annotations for details.

Annotations

Check failure on line 109 in vonage/assets/logs/vonage.yaml

See this annotation in the file changed.

@datadog-assets datadog-assets / validate-logs

Error in logs

attribute-remapper has a non-standard `name`, please change it to: Map tag `latency` to an attribute

Check failure on line 119 in vonage/assets/logs/vonage.yaml

See this annotation in the file changed.

@datadog-assets datadog-assets / validate-logs

Error in logs

attribute-remapper has a non-standard `name`, please change it to: Map tag `product` to an attribute

Check failure on line 129 in vonage/assets/logs/vonage.yaml

See this annotation in the file changed.

@datadog-assets datadog-assets / validate-logs

Error in logs

attribute-remapper has a non-standard `name`, please change it to: Map tag `error_code_description` to an attribute

Check failure on line 139 in vonage/assets/logs/vonage.yaml

See this annotation in the file changed.

@datadog-assets datadog-assets / validate-logs

Error in logs

attribute-remapper has a non-standard `name`, please change it to: Map tag `error_code` to an attribute

Check failure on line 81 in vonage/assets/logs/vonage.yaml

See this annotation in the file changed.

@datadog-assets datadog-assets / validate-logs

Error in logs

Standard attribute definition must be uniform across all integrations. Replace this definition with:
groups:
  - Web Access
name: URL Path
path: http.url
source: log

Check failure on line 53 in vonage/assets/logs/vonage.yaml

See this annotation in the file changed.

@datadog-assets datadog-assets / validate-logs

Error in logs

Facet path `product` conflicts with other integrations: lambdatest, vonage. Please fix this conflict by changing the facet path to be unique.

Check failure on line 1 in vonage/assets/logs/vonage_tests.yaml

See this annotation in the file changed.

@datadog-assets datadog-assets / validate-logs

Error in logs

Expected sample output:
id: "vonage"
tests:
 -
  sample: |-
    {
      "country" : "IN",
      "changed_from" : "",
      "latency" : "945284",
      "date_finalized" : "2024-11-05T07:18:37+00:00",
      "network" : "40471",
      "error_code_description" : "Delivered",
      "message_body" : "Hello from Vonage, checking for new data!",
      "dcs" : "0",
      "country_name" : "India",
      "from" : "918050290593",
      "currency" : "EUR",
      "date_received" : "2024-11-05T07:02:52+00:00",
      "id" : "19118688-07e9-45b8-8ca4-340850f8dde7",
      "direction" : "outbound",
      "account_ref" : "",
      "total_price" : "0.07268000",
      "client_ref" : "1|19118688-07e9-45b8-8ca4-340850f8dde7|1730790172031|eu-central-1",
      "validity_period" : "241106080252000+",
      "network_name" : "BSNL - Karnataka",
      "message_id" : "19118688-07e9-45b8-8ca4-340850f8dde7",
      "ip_address" : "49.249.95.150",
      "account_id" : "bf8d8cc9",
      "udh" : "",
      "forced_from" : "918050290593",
      "error_code" : "0",
      "to" : "919481686682",
      "status" : "delivered"
    }
  result:
    custom:
      account_id: "bf8d8cc9"
      account_ref: ""
      changed_from: ""
      client_ref: "1|19118688-07e9-45b8-8ca4-340850f8dde7|1730790172031|eu-central-1"
      country: "IN"
      country_name: "India"
      currency: "EUR"
      date_finalized: "2024-11-05T07:18:37+00:00"
      date_received: "2024-11-05T07:02:52+00:00"
      dcs: "0"
      direction: "outbound"
      error_code: "0"
      error_code_description: "Delivered"
      forced_from: "918050290593"
      from: "918050290593"
      id: "19118688-07e9-45b8-8ca4-340850f8dde7"
      ip_address: "49.249.95.150"
      latency: "945284"
      message_body: "Hello from Vonage, checking for new data!"
      message_id: "19118688-07e9-45b8-8ca4-340850f8dde7"
      network: "40471"
      network_name: "BSNL - Karnataka"
      status: "delivered"
      to: "919481686682"
      total_price: "0.07268000"
      udh: ""
      validity_period: "241106080252000+"
    message: |-
      {
        "country" : "IN",
        "changed_from" : "",
        "latency" : "945284",
        "date_finalized" : "2024-11-05T07:18:37+00:00",
        "network" : "40471",
        "error_code_description" : "Delivered",
        "message_body" : "Hello from Vonage, checking for new data!",
        "dcs" : "0",
        "country_name" : "India",
        "from" : "918050290593",
        "currency" : "EUR",
        "date_received" : "2024-11-05T07:02:52+00:00",
        "id" : "19118688-07e9-45b8-8ca4-340850f8dde7",
        "direction" : "outbound",
        "account_ref" : "",
        "total_price" : "0.07268000",
        "client_ref" : "1|19118688-07e9-45b8-8ca4-340850f8dde7|1730790172031|eu-central-1",
        "validity_period" : "241106080252000+",
        "network_name" : "BSNL - Karnataka",
        "message_id" : "19118688-07e9-45b8-8ca4-340850f8dde7",
        "ip_address" : "49.249.95.150",
        "account_id" : "bf8d8cc9",
        "udh" : "",
        "forced_from" : "918050290593",
        "error_code" : "0",
        "to" : "919481686682",
        "status" : "delivered"
      }
    tags:
     - "source:LOGS_SOURCE"