GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves metric images related to a specific alert in a GitLab project using the GitLab API. It is useful for monitoring and visualizing alert metrics directly from GitLab projects, which can help in incident management and alert analysis.

Use Case Examples

  1. Fetch metric images for a particular alert in a project to visualize alert trends and performance.
  2. Integrate GitLab alert metrics into a dashboard or reporting tool for enhanced monitoring.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, defaulting to GitLab API key.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Path Parameters Parameters to specify the project ID or path and the alert IID to identify the alert for which metric images are retrieved.

Output

JSON

  • metricImages - Array of metric images related to the specified alert in the project.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID and alert IID are correctly specified and exist in the GitLab instance.
  • Verify that the GitLab API key has sufficient permissions to access alert management data.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.
  • Common errors include authentication failures, resource not found (invalid project ID or alert IID), and permission denied errors.

Links

Discussion