Tideways Tracepoint Create

With tracepoint create command you canĀ boost for a given transaction very fine grained control. Here is an example command with "demo/symfony-sylius" as appName and "sylius.controller.product:indexAction" as transaction:

$ tideways tracepoint create demo/symfony-sylius sylius.controller.product:indexAction

After fire up this command you get similar output like this for example:

New tracepoint create created!

It can take a few minutes until the tracepoint configuration is synchronized to all active servers.
You can then see traces collected for this tracepoint inside Tideways:

  Summary: https://app.tideways.com/<yourPath>/traces/boosts
  Traces: https://app.tideways.com/<yourPath>/traces?cid=<genrated-Id>

The arguments for the command in order are:

  • appName (required value) Name of the project.

  • transaction(required value) Name of Transaction that you want boost

  • ` --disable-notification `(optional) Disable the summary notification to your personal e-mail?

  • `-d, --duration-minutes `(optional) Duration in minutes the boost runs for. Minimum 10 minutes, maximum depends on license.
    (default 60)

  • ` -e, --environment`(optional) Which environment should the boost activate (default "production")

  • --http-code(optional) The Tracepoint collects a trace if the HTTP status code matches the given code

  • --http-host (optional) The Tracepoint collects a trace if the HTTP host matches the given value

  • `--http-method string `(optional) The Tracepoint collects a trace if the HTTP method is a match to the configured value

  • --http-url(optional) The Tracepoint collects a trace if the HTTP URL matches the given value

  • -t, --min-response-time-ms (optional) The Tracepoint only collects a trace if the minimum response time specified (in milliseconds) is exceeded

  • -s, --service(optional) The service that the Tracepoint is active on

     +
    Example with using optional parameterĀ  `--http-code` for filtering traces with 404 HTTP-Code
$ tideways tracepoint create demo/symfony-sylius sylius.controller.product:indexAction --http-code=404

Here is an example with optional parameters for filtering traces with:

  • An HTTP status code of 200 (--http-code)

  • A duration of 30 minutes (--duration-minutes); and

  • A minimum response time of 100 ms (--min-response-time-ms)

$ tideways tracepoint create demo/symfony-sylius sylius.controller.product:indexAction --http-code=200 --duration-minutes=30 --min-response-time-ms=100
Still need help? Email [email protected]