autotel-cli 0.18.7 → 0.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -7662,6 +7662,7 @@ function applyFlagsToEnv(flags) {
|
|
|
7662
7662
|
if (flags.logfireBaseUrl !== void 0) process.env.LOGFIRE_BASE_URL = flags.logfireBaseUrl;
|
|
7663
7663
|
if (flags.datadogSite !== void 0) process.env.DD_SITE = flags.datadogSite;
|
|
7664
7664
|
if (flags.signozBaseUrl !== void 0) process.env.SIGNOZ_BASE_URL = flags.signozBaseUrl;
|
|
7665
|
+
if (flags.cloudflareAccountId !== void 0) process.env.CLOUDFLARE_ACCOUNT_ID = flags.cloudflareAccountId;
|
|
7665
7666
|
}
|
|
7666
7667
|
/**
|
|
7667
7668
|
* Build a backend from CLI flags/env. Caller is responsible for calling
|
|
@@ -7781,7 +7782,7 @@ const floatArg = (v) => Number.parseFloat(v);
|
|
|
7781
7782
|
* investigate command. Applied to a Command in place (mutates + returns).
|
|
7782
7783
|
*/
|
|
7783
7784
|
function addBackendFlags(cmd) {
|
|
7784
|
-
return cmd.option("--backend <kind>", "Backend: collector|jaeger|tempo|prometheus|loki|stack|auto|fixture|logfire|datadog|signoz (env: AUTOTEL_BACKEND)").option("--jaeger-base-url <url>", "Jaeger base URL (env: JAEGER_BASE_URL)").option("--tempo-base-url <url>", "Tempo base URL (env: TEMPO_BASE_URL)").option("--prometheus-base-url <url>", "Prometheus base URL (env: PROMETHEUS_BASE_URL)").option("--loki-base-url <url>", "Loki base URL (env: LOKI_BASE_URL)").option("--collector-port <n>", "OTLP receiver port for the collector backend", intArg).option("--fixture-path <path>", "Fixture JSON for the fixture backend").option("--logfire-base-url <url>", "Logfire region URL (env: LOGFIRE_BASE_URL; token via LOGFIRE_READ_TOKEN)").option("--datadog-site <site>", "Datadog site, e.g. datadoghq.eu, or a full API URL (env: DD_SITE; keys via DD_API_KEY + DD_APP_KEY)").option("--signoz-base-url <url>", "SigNoz base URL (env: SIGNOZ_BASE_URL; key via SIGNOZ_API_KEY)").option("--output-file <path>", "Persist JSON output to this file").option("--no-secrets-in-output", "Redact secret-shaped values");
|
|
7785
|
+
return cmd.option("--backend <kind>", "Backend: collector|jaeger|tempo|prometheus|loki|stack|auto|fixture|logfire|datadog|signoz|cloudflare (env: AUTOTEL_BACKEND)").option("--jaeger-base-url <url>", "Jaeger base URL (env: JAEGER_BASE_URL)").option("--tempo-base-url <url>", "Tempo base URL (env: TEMPO_BASE_URL)").option("--prometheus-base-url <url>", "Prometheus base URL (env: PROMETHEUS_BASE_URL)").option("--loki-base-url <url>", "Loki base URL (env: LOKI_BASE_URL)").option("--collector-port <n>", "OTLP receiver port for the collector backend", intArg).option("--fixture-path <path>", "Fixture JSON for the fixture backend").option("--logfire-base-url <url>", "Logfire region URL (env: LOGFIRE_BASE_URL; token via LOGFIRE_READ_TOKEN)").option("--datadog-site <site>", "Datadog site, e.g. datadoghq.eu, or a full API URL (env: DD_SITE; keys via DD_API_KEY + DD_APP_KEY)").option("--signoz-base-url <url>", "SigNoz base URL (env: SIGNOZ_BASE_URL; key via SIGNOZ_API_KEY)").option("--cloudflare-account <id>", "Cloudflare account id (env: CLOUDFLARE_ACCOUNT_ID; token via CLOUDFLARE_API_TOKEN)").option("--output-file <path>", "Persist JSON output to this file").option("--no-secrets-in-output", "Redact secret-shaped values");
|
|
7785
7786
|
}
|
|
7786
7787
|
/**
|
|
7787
7788
|
* Smaller flag set for commands that don't need a backend (semconv,
|
|
@@ -7802,6 +7803,7 @@ function backendFlagsFromOpts(opts) {
|
|
|
7802
7803
|
logfireBaseUrl: stringOpt(opts, "logfireBaseUrl"),
|
|
7803
7804
|
datadogSite: stringOpt(opts, "datadogSite"),
|
|
7804
7805
|
signozBaseUrl: stringOpt(opts, "signozBaseUrl"),
|
|
7806
|
+
cloudflareAccountId: stringOpt(opts, "cloudflareAccount"),
|
|
7805
7807
|
outputFile: stringOpt(opts, "outputFile"),
|
|
7806
7808
|
noSecrets: opts.secretsInOutput === false
|
|
7807
7809
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "autotel-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.1",
|
|
4
4
|
"description": "CLI for autotel - setup wizard, diagnostics, and incremental features",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@inquirer/prompts": "^8.7.2",
|
|
22
22
|
"@opentelemetry/otlp-transformer": "^0.222.0",
|
|
23
|
-
"autotel-mcp": "0.
|
|
23
|
+
"autotel-mcp": "0.12.0",
|
|
24
24
|
"chalk": "^6.0.1",
|
|
25
25
|
"commander": "^15.0.0",
|
|
26
26
|
"glob": "^13.0.6",
|