GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves metric images related to a specific alert within a project in GitLab's Alert Management system. It is useful for monitoring and visualizing alert metrics directly from GitLab projects, aiding in incident management and analysis.

Use Case Examples

  1. Fetching metric images for alert IID 23 in project with ID 17 to visualize alert performance.
  2. Using the node to automate retrieval of alert metrics for dashboards or reporting.

Properties

Name Meaning
Skip Authentication Option to bypass 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 and alert IID for the request.

Output

JSON

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

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID and alert IID are correctly specified and URL-encoded if necessary.
  • Verify that the GitLab API key has sufficient permissions to access alert management data.
  • If skipping authentication, ensure the GitLab instance allows unauthenticated access to this endpoint.

Links

Discussion