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

Datadog Trace log is not correctly formatted in v1.31.0 #221

Open
amolari opened this issue Aug 31, 2022 · 1 comment
Open

Datadog Trace log is not correctly formatted in v1.31.0 #221

amolari opened this issue Aug 31, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@amolari
Copy link

amolari commented Aug 31, 2022

Environment

  • Telemetry Streaming Version: 1.31.0
  • BIG-IP Version: 14.1.5.1

Summary

The trace file /var/tmp/telemetry/Telemetry_Consumer.My_Metrics_Namespace::My_Datadog_Metrics_Consumer is not correctly formatted (as in previous versions such as 1.25.0), as the payload is not json but a string with escaped double-quotes.

Steps To Reproduce

A declaration with a datadog consumer having set "trace": true

Expected Behavior

[
    {
        "data": {
            "url": "https://api.datadoghq.eu/api/v1/series",
            "data": {
                "series": [
                    {
                        "host": "hostname.com",
                        "interval": 300,
                        "metric": "f5.system.configReady",
                        "points": [
                            [
                                1661872544.865,
                                0
                            ]
                        ],
                        "tags": [
[...]

Actual Behavior

content of the trace file:

[
    {
        "data": {
            "data": [
                "{\"series\":[{\"interval\":300,\"metric\":\"f5.system.cpu\",\"points\":[{\"timestamp\":1661954376,\"value\":0}],\"tags\":[\"hostname: 
[...]
\"type\":3}]}"
            ],
            "host": "api.datadoghq.eu",
            "httpAgentOpts": {},
            "type": "metrics",
            "uri": "/api/v2/series"
        },
        "timestamp": "2022-08-31T13:59:36.739Z"
    }
]
@amolari amolari added bug Something isn't working untriaged Issue needs to be reviewed for validity labels Aug 31, 2022
@sunitharonan
Copy link

Thank you for your feedback. I have added this issue to our internal product backlog as TS-700.

@sunitharonan sunitharonan removed the untriaged Issue needs to be reviewed for validity label Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants