GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API to retrieve usage data specifically related to non-SQL metrics via the API endpoint `/api/v4/usage_data/non_sql_metrics`. It supports making HTTP requests with configurable methods (GET, POST, PUT, DELETE, HEAD, PATCH) and allows users to specify the base URL for the GitLab instance. This node is useful for monitoring and analyzing GitLab usage metrics in automation workflows, such as tracking API usage or resource consumption without SQL queries.

Use Case Examples

  1. A DevOps engineer uses this node to fetch non-SQL usage metrics from their GitLab instance to monitor API usage trends.
  2. A data analyst integrates this node in an automation workflow to collect GitLab usage data for reporting and visualization.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication when making the API request.
Authentication Specifies the authentication method to use, defaulting to GitLab API key authentication. Hidden if Skip Authentication is true.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request.
Parameter Schema Hidden property for the parameter schema of the API request, specific to the operation.
Request Body Schema Hidden property for the request body schema of the API request, specific to the operation.
Request Path The API endpoint path for retrieving non-SQL usage data metrics, fixed to `/api/v4/usage_data/non_sql_metrics`.

Output

JSON

  • responseData - The JSON response data returned from the GitLab API containing non-SQL usage metrics.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the GitLab API key credential is valid and has sufficient permissions to access usage data.
  • Verify the base URL is correct and accessible from the network where the node runs.
  • Check that the HTTP method matches the API endpoint requirements, typically GET for this operation.
  • If skipping authentication, ensure the GitLab instance allows unauthenticated access to the endpoint, which is uncommon.

Links

Discussion