Git Product home page Git Product logo

Comments (18)

JanThiel avatar JanThiel commented on September 23, 2024 1

Let me raise a ticket with Datadog and see what they reply :-)

from wp-decalog.

JanThiel avatar JanThiel commented on September 23, 2024 1

Thank you very much 😊 I will get back with feedback within the next couple of days

from wp-decalog.

Pierre-Lannoy avatar Pierre-Lannoy commented on September 23, 2024

Hi @JanThiel !
I'm going well (since Eunice has gone to see what's going on elsewhere), thanks… Hope you too :)

Regarding your issue, that's very strange. The only remembrance I have concerning this type of subject is this commit. But it's about New Relic, not DataDog.

Let me investigate it…

from wp-decalog.

JanThiel avatar JanThiel commented on September 23, 2024

If it helps, it is not just the message, it is also within the trace information:

{"call":"WP_REST_Posts_Controller->prepare_item_for_response(WP_Post, WP_REST_Request)","file":"./wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:367"},
--
{"call":"WP_REST_Posts_Controller->get_items(WP_REST_Request)","file":"./wp-includes/rest-api/class-wp-rest-server.php:1140"},

Seems to be something more general.

from wp-decalog.

Pierre-Lannoy avatar Pierre-Lannoy commented on September 23, 2024

Yes. It seems Datadog have changed something on its side.
The message is simple to fix. It's many more complex with stack trace.

I will try to globally fix it for the next version - even if I don't know how at this time 🀣

from wp-decalog.

Pierre-Lannoy avatar Pierre-Lannoy commented on September 23, 2024

Ah thanks. That's a good idea.

from wp-decalog.

freshuk avatar freshuk commented on September 23, 2024

hi guys, i can confirm same issue with datadog

from wp-decalog.

Pierre-Lannoy avatar Pierre-Lannoy commented on September 23, 2024

Hi @JanThiel !
Did you have some news from Datadog?

from wp-decalog.

JanThiel avatar JanThiel commented on September 23, 2024

@Pierre-Lannoy Nope ... awaiting feedback from their technical department.

from wp-decalog.

JanThiel avatar JanThiel commented on September 23, 2024

@Pierre-Lannoy Here is the feedback from DD. Can you suggest a way how to deliver what they request?

Hello Jan,

Thank you for providing me with your codebase. I reached out to our Logs team and found out that these (&ldquo) are HTML encoded characters [example].

To resolve this,
would you be able to check your raw logs?

  • If your application is not storing raw logs in any file, is it possible to capture or store them in a place so that you can check how your raw logs are formatted?
  • If you are seeing these HTML encoded characters, can you configure you logger or application so that these characters are not generated in your logs?

Please let me know if you have any questions on this.

from wp-decalog.

Pierre-Lannoy avatar Pierre-Lannoy commented on September 23, 2024

Hello @JanThiel and thanks for letting me know about DataDog's answer.
What is really strange (and why I doesn't understand their point) is DecaLog doesn't encode or decode HTML entities by itself. The record format has not changed since DecaLog 3.2.0 (2021-09-07). The only possible thing is they changed something from their side regarding json decoding/parsing.

Well, anyway, they're not going to do a rollback. So it's up to DecaLog to adapt…

I will make a POC to decode HTML entities for all fields sent to DataDog and will let you know.

from wp-decalog.

JanThiel avatar JanThiel commented on September 23, 2024

I understood their request just as a request to prove that Decalog does not encode.
Is there an easy way (without code hacks) to dump a request before it is sent to Datadog?

from wp-decalog.

Pierre-Lannoy avatar Pierre-Lannoy commented on September 23, 2024

Wowowowo. Found it! It's coming from DecaLog and it was introduced by PHP 8.1 compatibility. So now, I have choice to 8.1 compatibility or correct strings 🀣
Let me investigate it and see how I can work around…

from wp-decalog.

Pierre-Lannoy avatar Pierre-Lannoy commented on September 23, 2024

OK. That's fixed. Will be in the next release (3.5.0).
Sorry for the confused resolution of this issue. And thanks again to have reported it…

from wp-decalog.

JanThiel avatar JanThiel commented on September 23, 2024

Glad to hear you found and fixed it πŸ‘πŸŽ‰
Thanks again 😊

from wp-decalog.

Pierre-Lannoy avatar Pierre-Lannoy commented on September 23, 2024

3.5.0 is out! Can you tell me if it's ok for you now?

from wp-decalog.

JanThiel avatar JanThiel commented on September 23, 2024

I can confirm this is fixed with 3.5.0 πŸ₯³

from wp-decalog.

Pierre-Lannoy avatar Pierre-Lannoy commented on September 23, 2024

Great! Thanks for the feedback πŸ‘πŸΌ

from wp-decalog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.