Duplicate sample for TimeStamp in Prometheus when using K6 Prom Remote Write

When using the XK6 extension for remote write to Prometheus we are getting errors in the Prometheus log that there are duplicate samples for the timestamp.How could this occur and what does it mean?

ts=2022-08-11T03:04:01.327Z caller=dedupe.go:112 component=remote level=error remote_name=281482 url=http://localhost:9009/api/v1/push msg="non-recoverable error" count=113 exemplarCount=0 err="server returned HTTP status 400 Bad Request: user=anonymous: err: duplicate sample for timestamp. timestamp=2022-08-11T03:03:56.079Z, series={__name__=\"k6_data_received\", application=\"IB\", buildNumber=\"IB_40\", buildTool=\"K6\", cluster=\"demo\", environment=\"QA\", namespace=\"demo\", priority=\"High\", protocol=\"HTTP\", scenario=\"IBAPILogin\", squadName=\"CAT\", testName=\"IBLoadTest\"}"

Hi @Jperrin,

Please see this issue in the prometheus output repo.