Skip to content

MetricWithTimestamp function ignores the timestamp parameter while using the statsd client #218

@ajayvijendrang

Description

@ajayvijendrang

Expected Behavior

We would expect the metrics to show up with the timestamp that was passed in to MetricWithTimestamp function.

Actual Behavior

When the statdsclient is used to send metrics to Datadog, we see that the timestamp is being ignored and the current time is used instead. See here.

Steps to Reproduce the Problem

  1. Send Distribution metric to datadog through the datadog lambda extension using the MetricWithTimestamp function.

Specifications

  • Datadog Go Lambda package version: v1.22.0
  • Go version: 1.23.12
  • Lambda extension version: 58

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions