1. Packages
  2. Packages
  3. Gitlab Provider
  4. API Docs
  5. getProjectErrorTrackingSettings
Viewing docs for GitLab v10.1.1
published on Thursday, Jul 23, 2026 by Pulumi
gitlab logo
Viewing docs for GitLab v10.1.1
published on Thursday, Jul 23, 2026 by Pulumi

    The gitlab.ProjectErrorTrackingSettings data source retrieves error tracking settings for a GitLab project.

    Upstream API: GitLab REST API docs

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as gitlab from "@pulumi/gitlab";
    
    const example = gitlab.getProjectErrorTrackingSettings({
        project: "mygroup/myproject",
    });
    
    import pulumi
    import pulumi_gitlab as gitlab
    
    example = gitlab.get_project_error_tracking_settings(project="mygroup/myproject")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gitlab/sdk/v10/go/gitlab"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := gitlab.GetProjectErrorTrackingSettings(ctx, &gitlab.LookupProjectErrorTrackingSettingsArgs{
    			Project: "mygroup/myproject",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using GitLab = Pulumi.GitLab;
    
    return await Deployment.RunAsync(() => 
    {
        var example = GitLab.GetProjectErrorTrackingSettings.Invoke(new()
        {
            Project = "mygroup/myproject",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gitlab.GitlabFunctions;
    import com.pulumi.gitlab.inputs.GetProjectErrorTrackingSettingsArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = GitlabFunctions.getProjectErrorTrackingSettings(GetProjectErrorTrackingSettingsArgs.builder()
                .project("mygroup/myproject")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: gitlab:getProjectErrorTrackingSettings
          arguments:
            project: mygroup/myproject
    
    pulumi {
      required_providers {
        gitlab = {
          source = "pulumi/gitlab"
        }
      }
    }
    
    data "gitlab_getprojecterrortrackingsettings" "example" {
      project = "mygroup/myproject"
    }
    

    Using getProjectErrorTrackingSettings

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getProjectErrorTrackingSettings(args: GetProjectErrorTrackingSettingsArgs, opts?: InvokeOptions): Promise<GetProjectErrorTrackingSettingsResult>
    function getProjectErrorTrackingSettingsOutput(args: GetProjectErrorTrackingSettingsOutputArgs, opts?: InvokeOptions): Output<GetProjectErrorTrackingSettingsResult>
    def get_project_error_tracking_settings(project: Optional[str] = None,
                                            opts: Optional[InvokeOptions] = None) -> GetProjectErrorTrackingSettingsResult
    def get_project_error_tracking_settings_output(project: pulumi.Input[Optional[str]] = None,
                                            opts: Optional[InvokeOptions] = None) -> Output[GetProjectErrorTrackingSettingsResult]
    func LookupProjectErrorTrackingSettings(ctx *Context, args *LookupProjectErrorTrackingSettingsArgs, opts ...InvokeOption) (*LookupProjectErrorTrackingSettingsResult, error)
    func LookupProjectErrorTrackingSettingsOutput(ctx *Context, args *LookupProjectErrorTrackingSettingsOutputArgs, opts ...InvokeOption) LookupProjectErrorTrackingSettingsResultOutput

    > Note: This function is named LookupProjectErrorTrackingSettings in the Go SDK.

    public static class GetProjectErrorTrackingSettings 
    {
        public static Task<GetProjectErrorTrackingSettingsResult> InvokeAsync(GetProjectErrorTrackingSettingsArgs args, InvokeOptions? opts = null)
        public static Output<GetProjectErrorTrackingSettingsResult> Invoke(GetProjectErrorTrackingSettingsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetProjectErrorTrackingSettingsResult> getProjectErrorTrackingSettings(GetProjectErrorTrackingSettingsArgs args, InvokeOptions options)
    public static Output<GetProjectErrorTrackingSettingsResult> getProjectErrorTrackingSettings(GetProjectErrorTrackingSettingsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: gitlab:index/getProjectErrorTrackingSettings:getProjectErrorTrackingSettings
      arguments:
        # arguments dictionary
    data "gitlab_get_project_error_tracking_settings" "name" {
        # arguments
    }

    The following arguments are supported:

    Project string
    The ID or URL-encoded path of the project.
    Project string
    The ID or URL-encoded path of the project.
    project string
    The ID or URL-encoded path of the project.
    project String
    The ID or URL-encoded path of the project.
    project string
    The ID or URL-encoded path of the project.
    project str
    The ID or URL-encoded path of the project.
    project String
    The ID or URL-encoded path of the project.

    getProjectErrorTrackingSettings Result

    The following output properties are available:

    Active bool
    Whether error tracking is enabled for the project.
    ApiUrl string
    The API URL to the Sentry project.
    Id string
    The ID of this datasource. In the format <project-id>.
    Integrated bool
    Whether the integrated error tracking backend is enabled.
    Project string
    The ID or URL-encoded path of the project.
    ProjectName string
    The Sentry project name.
    SentryExternalUrl string
    The external URL to the Sentry project.
    Active bool
    Whether error tracking is enabled for the project.
    ApiUrl string
    The API URL to the Sentry project.
    Id string
    The ID of this datasource. In the format <project-id>.
    Integrated bool
    Whether the integrated error tracking backend is enabled.
    Project string
    The ID or URL-encoded path of the project.
    ProjectName string
    The Sentry project name.
    SentryExternalUrl string
    The external URL to the Sentry project.
    active bool
    Whether error tracking is enabled for the project.
    api_url string
    The API URL to the Sentry project.
    id string
    The ID of this datasource. In the format <project-id>.
    integrated bool
    Whether the integrated error tracking backend is enabled.
    project string
    The ID or URL-encoded path of the project.
    project_name string
    The Sentry project name.
    sentry_external_url string
    The external URL to the Sentry project.
    active Boolean
    Whether error tracking is enabled for the project.
    apiUrl String
    The API URL to the Sentry project.
    id String
    The ID of this datasource. In the format <project-id>.
    integrated Boolean
    Whether the integrated error tracking backend is enabled.
    project String
    The ID or URL-encoded path of the project.
    projectName String
    The Sentry project name.
    sentryExternalUrl String
    The external URL to the Sentry project.
    active boolean
    Whether error tracking is enabled for the project.
    apiUrl string
    The API URL to the Sentry project.
    id string
    The ID of this datasource. In the format <project-id>.
    integrated boolean
    Whether the integrated error tracking backend is enabled.
    project string
    The ID or URL-encoded path of the project.
    projectName string
    The Sentry project name.
    sentryExternalUrl string
    The external URL to the Sentry project.
    active bool
    Whether error tracking is enabled for the project.
    api_url str
    The API URL to the Sentry project.
    id str
    The ID of this datasource. In the format <project-id>.
    integrated bool
    Whether the integrated error tracking backend is enabled.
    project str
    The ID or URL-encoded path of the project.
    project_name str
    The Sentry project name.
    sentry_external_url str
    The external URL to the Sentry project.
    active Boolean
    Whether error tracking is enabled for the project.
    apiUrl String
    The API URL to the Sentry project.
    id String
    The ID of this datasource. In the format <project-id>.
    integrated Boolean
    Whether the integrated error tracking backend is enabled.
    project String
    The ID or URL-encoded path of the project.
    projectName String
    The Sentry project name.
    sentryExternalUrl String
    The external URL to the Sentry project.

    Package Details

    Repository
    GitLab pulumi/pulumi-gitlab
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the gitlab Terraform Provider.
    gitlab logo
    Viewing docs for GitLab v10.1.1
    published on Thursday, Jul 23, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial