Skip to content

2.29.0.0-b126

@Deepti-yb Deepti-yb tagged this 01 Nov 05:43
Summary:
Support OTLP config generation for Telemetry providers
`http://localhost:9000/api/v1/customers/<>/telemetry_provider` API with the following request body:
```
{
    "name": "test-otlp",
    "config": {
        "type": "OTLP",
        "endpoint": "<>",
        "authType": "BasicAuth",
        "basicAuth": {
            "username": "admin",
            "password": "Password#123"
        }
    },
    "tags": {
        "testing": "tags"
    }
}
```

Test Plan:
The following config is created for the above request:
```
{
    "uuid": "273e8387-55ec-4bef-8adf-2efee6795046",
    "customerUUID": "f33e3c9b-75ab-4c30-80ad-cba85646ea39",
    "name": "test-otlp",
    "config": {
        "type": "OTLP",
        "endpoint": "<>",
        "authType": "BasicAuth",
        "basicAuth": {
            "username": "admin",
            "password": "Password#123"
        },
        "compression": "gzip",
        "timeout": 0,
        "protocol": "gRPC"
    },
    "tags": {
        "testing": "tags"
    }
}
```

Reviewers: #yba-api-review!, skurapati, amalyshev

Reviewed By: skurapati, amalyshev

Subscribers: yugaware

Differential Revision: https://phorge.dev.yugabyte.com/D47280
Assets 2
Loading