public class ClientFactory extends Object
Constructor and Description |
---|
ClientFactory() |
Modifier and Type | Method and Description |
---|---|
static DatadogClient |
getClient() |
static DatadogClient |
getClient(DatadogClient.ClientType type,
String apiUrl,
String logIntakeUrl,
String webhookIntakeUrl,
Secret apiKey,
String host,
Integer port,
Integer logCollectionPort,
Integer traceCollectionPort,
String traceServiceName) |
static void |
setTestClient(DatadogClient testClient) |
public static void setTestClient(DatadogClient testClient)
public static DatadogClient getClient(DatadogClient.ClientType type, String apiUrl, String logIntakeUrl, String webhookIntakeUrl, Secret apiKey, String host, Integer port, Integer logCollectionPort, Integer traceCollectionPort, String traceServiceName)
public static DatadogClient getClient()
Copyright © 2016–2023. All rights reserved.