Skip to content

bug: datadog plugin failed to send metric when consumer is used with route for authentication #9269

Description

@0prodigy

Current Behavior

datadog plugin failed to send metric

Expected Behavior

plugin should send metric to datadog agent

Error Logs

lua entry thread aborted: runtime error: /usr/local/apisix/apisix/plugins/datadog.lua:92: attempt to concatenate field 'consumer' (a table value)

Steps to Reproduce

  1. Enable datadog plugin in routes
  2. Check log

Environment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status
✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions