Skip to content

Commit 2d668b2

Browse files
committed
rename agent to extension
1 parent 90f652e commit 2d668b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/metrics/extension.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import { logDebug } from "../utils";
22
import fs from "fs";
33

4-
export const AGENT_URL = "http://127.0.0.1:8124";
4+
export const EXTENSION_URL = "http://127.0.0.1:8124";
55
const EXTENSION_PATH = "/opt/extensions/datadog-agent";
66

7-
export async function isAgentRunning() {
7+
export async function isExtensionRunning() {
88
const extensionExists = await fileExists(EXTENSION_PATH);
99
if (!extensionExists) {
10-
logDebug(`Agent isn't present in sandbox`);
10+
logDebug(`Extension Layer is not present.`);
1111
return false;
1212
}
1313
return true;

0 commit comments

Comments
 (0)