Code Monkey home page Code Monkey logo

elastic-apm-php-agent's People

Contributors

subzerobo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

sabaidea bboykeen

elastic-apm-php-agent's Issues

Too many host headers when host is null

Hi,

I don't know if it's version related to the used HTTP Client but I face some issues with the APM Server when I leave the host configuration empty.

HTTP/1.1 400 Bad Request: too many Host headers
Content-Type: text/plain; charset=utf-8
Connection: close
400 Bad Request: too many Host headers

After digging in the request using TcpDump/Wireshark, it looks like the HTTP Client forces a host header when it detects an empty host header without removing the empty one. It's not really an issue with the library but I think users should be informed of this potential issue.

Protobuf

Hi,

Thanks for the awesome work.
I'm trying to use your library and I'm wondering where did you found that you can use Protobuf with the APM Server ?

I can't find any information in the ELK documentation. The only mention concerns logstash.

Thanks

Example

Hello,

Your project seems promising for our system.
Could you maybe incorporate an example in the README of how to use your code?

Or is the project not completed yet?

Best regards

Error when starting transaction

Hi

I face a weird error when just starting a transaction coming from Protobuf internals.

Error occurred during parsing: Error occurred during parsing: String field only accepts string value

The error happens during the transactionEvent->setRequest() call.

Here is the stack trace

Google\Protobuf\Internal\GPBDecodeException
in vendor/google/protobuf/src/Google/Protobuf/Internal/Message.php (line 1256)
in vendor/google/protobuf/src/Google/Protobuf/Internal/Message.php->parseFromJsonStream (line 742)
in vendor/subzerobo/elastic-apm-php-agent/src/Wrappers/Traits/EventTrait.php->mergeFromJsonString (line 290)
in vendor/subzerobo/elastic-apm-php-agent/src/Wrappers/Traits/EventTrait.php->setRequest (line 101)
in vendor/subzerobo/elastic-apm-php-agent/src/Wrappers/TransactionEvent.php->initContext (line 52)
in vendor/subzerobo/elastic-apm-php-agent/src/Factories/DefaultEventFactory.php->__construct (line 51)
in vendor/subzerobo/elastic-apm-php-agent/src/ApmAgent.php->createTransaction (line 132)
ApmAgent->startTransaction()

It's as if the output of json_encoding my request has a wrong structure.
Did you face this someday ?

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.