mittwald icon

mittwald

Interact with mittwald mStudio API

Actions409

Overview

This node operation schedules a system call trace (strace) measurement for a specified URL within a given project. It is designed to measure and analyze the system calls made during a request to a particular URL, which can be useful for performance diagnostics, debugging, or monitoring of web applications hosted under specific projects.

Typical use cases include:

  • Monitoring the behavior of web services by tracing system calls triggered by HTTP requests.
  • Diagnosing performance bottlenecks or unexpected system interactions in web applications.
  • Automating the scheduling of strace measurements as part of continuous integration or monitoring workflows.

For example, a user might schedule a strace on https://example.com under a project identified by its ID to capture detailed system-level insights about how the server handles requests to that URL.

Properties

Name Meaning
Project Id The identifier of the project that owns the created strace. This project must have an ingress configured with the same hostname as the URL being measured.
Url The URL to be measured via strace. The node will perform a call to this URL and trace the system calls involved.

Output

The node outputs JSON data representing the result of scheduling the strace measurement. This typically includes metadata about the scheduled task such as identifiers, status, timestamps, or any relevant response from the API confirming the scheduling.

No binary data output is indicated in the source code.

Dependencies

  • Requires an API key credential for authentication with the mittwald mStudio API.
  • Depends on the mittwald mStudio API endpoint at https://api.mittwald.de.
  • The project referenced by Project Id must exist and have an ingress matching the hostname of the URL to be traced.

Troubleshooting

  • Common issues:

    • Invalid or missing Project Id: Ensure the project exists and has the correct ingress configuration.
    • URL hostname mismatch: The URL's hostname must match an ingress hostname in the project; otherwise, the strace cannot be scheduled.
    • Authentication errors: Verify that the API key credential is correctly configured and has sufficient permissions.
  • Error messages:

    • Errors related to project or ingress not found usually indicate misconfiguration or incorrect Project Id.
    • Authorization errors suggest problems with the API key or credential setup.
    • Network or timeout errors may occur if the API endpoint is unreachable.

Resolving these typically involves verifying project setup, URL correctness, and credential validity.

Links and References

Discussion