We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
agent
extension
1 parent 90f652e commit 2d668b2Copy full SHA for 2d668b2
src/metrics/extension.ts
@@ -1,13 +1,13 @@
1
import { logDebug } from "../utils";
2
import fs from "fs";
3
4
-export const AGENT_URL = "http://127.0.0.1:8124";
+export const EXTENSION_URL = "http://127.0.0.1:8124";
5
const EXTENSION_PATH = "/opt/extensions/datadog-agent";
6
7
-export async function isAgentRunning() {
+export async function isExtensionRunning() {
8
const extensionExists = await fileExists(EXTENSION_PATH);
9
if (!extensionExists) {
10
- logDebug(`Agent isn't present in sandbox`);
+ logDebug(`Extension Layer is not present.`);
11
return false;
12
}
13
return true;
0 commit comments