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

Unable to publish metric into DataDog via "artillery-plugin-publish-metrics" #876

Closed
bcexopolllo opened this issue Sep 1, 2020 · 3 comments

Comments

@bcexopolllo
Copy link

I have a sort of next script:

config:
    target: "target"
    plugins:
      publish-metrics:
        - type: datadog
          apiKey: cbe99fbe33c1e2dd077f5a4a982474fd
          # host: 127.0.0.1
          # port: 5002
          prefix: artillery.
          tags:
            - team:sre
            - component:eu-payments-backend
            - region:eu-west-1
          event:
            tags:
              - team:sre
    payload:      
      path: "./UsersTokens.csv"
      fields:
        - "staticTokens"
    processor: "./AdditionalScripts/customFunctions.js"
    defaults:
      headers:
        Authorization: "Bearer {{ staticTokens }}"
        Content-Type: "application/json"
    phases:      
      - duration: 1
        arrivalRate: 1
        rampTo: 2
        name: "debug"
scenarios:
##some scenarios..

I've installed "artillery-plugin-publish-metrics" and have no error during the artillery run.
but still seeing no test data log in DataDog

also I'm worrying about this issue:
#856

could anyone please assist?
DataDog trial period gonna end soon

@alexmarqs
Copy link

Hey, I'm having the same issue, any news?

@bcexopolllo
Copy link
Author

try to switch to US version of DataDog account, that helped me.

@hassy
Copy link
Member

hassy commented Nov 16, 2022

overdue comment but this was fixed last year and can be configured with apiHost option in the plugin: https://www.artillery.io/docs/guides/plugins/plugin-publish-metrics#datadog

@hassy hassy closed this as completed Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants