Package com.dtsx.astra.sdk.db
Class DbTelemetryClient
java.lang.Object
com.dtsx.astra.sdk.AbstractApiClient
com.dtsx.astra.sdk.db.DbTelemetryClient
Setup Database Telemetry.
-
Field Summary
Fields inherited from class com.dtsx.astra.sdk.AbstractApiClient
environment, token
-
Constructor Summary
ConstructorDescriptionDbTelemetryClient
(String token, ApiLocator.AstraEnvironment env, String databaseId) As immutable object use builder to initiate the object.DbTelemetryClient
(String token, String databaseId) As immutable object use builder to initiate the object. -
Method Summary
Methods inherited from class com.dtsx.astra.sdk.AbstractApiClient
assertHttpCodeAccepted, DELETE, GET, getHttpClient, getToken, HEAD, PATCH, POST, POST, PUT
-
Constructor Details
-
DbTelemetryClient
As immutable object use builder to initiate the object.- Parameters:
token
- authenticated token
-
DbTelemetryClient
As immutable object use builder to initiate the object.- Parameters:
env
- define target environment to be usedtoken
- authenticated token
-
-
Method Details
-
find
Retrieve Remote Telemetry configuration. https://docs.datastax.com/en/astra/docs/_attachments/devopsv2.html#operation/getTelemetryConfig- Returns:
- http response
-
kafka
Specialization.- Returns:
- kafka telemetry client
-
cloudWatch
Specialization.- Returns:
- cloudwatch telemetry client
-
prometheus
Specialization.- Returns:
- prometheus_remote telemetry client
-
datadog
Specialization.- Returns:
- Datadog telemetry client
-
splunk
Specialization.- Returns:
- splunk telemetry client
-
getEndpointTelemetry
Accessing telemetry endpoint.- Returns:
- telemetry endpoint
-