GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node interacts with the GitLab API to retrieve non-SQL usage data metrics from the endpoint `/api/v4/usage_data/non_sql_metrics`. It supports making HTTP requests with various methods (GET, POST, PUT, DELETE, HEAD, PATCH) to this specific API path, primarily used for monitoring and analyzing GitLab usage data that does not rely on SQL queries. This is useful for administrators or developers who want to programmatically access GitLab usage metrics for reporting or automation purposes.

Use Case Examples

  1. A DevOps engineer uses this node to fetch non-SQL usage metrics from GitLab to monitor system performance and usage trends.
  2. A developer integrates this node into an automation workflow to periodically retrieve GitLab usage data and store it in an external analytics system.

Properties

Name Meaning
Skip Authentication Determines whether to skip the authentication process when making the API request.
Authentication Specifies the authentication method to use for the API request, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance to which the API request is sent, defaulting to https://gitlab.com.
Method The HTTP method used for the API request, such as GET, POST, PUT, DELETE, HEAD, or PATCH.
Parameter Schema Hidden property for the schema of parameters used in the request, specific to this operation.
Request Body Schema Hidden property for the schema of the request body, specific to this 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

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

Dependencies

  • GitLab API key credential

Troubleshooting

  • If authentication fails, ensure the GitLab API key credential is correctly configured and has the necessary permissions.
  • If the API request returns an error, verify the base URL is correct and the API endpoint `/api/v4/usage_data/non_sql_metrics` is accessible.
  • Check the HTTP method used is appropriate for the operation; typically, GET is used for retrieving usage data.

Links

Discussion