Skip to content

Feature/config manager push telemetry - #122

Open
dallinjsevy wants to merge 10 commits into
mainfrom
feature/config-manager-push-telemetry
Open

Feature/config manager push telemetry#122
dallinjsevy wants to merge 10 commits into
mainfrom
feature/config-manager-push-telemetry

Conversation

@dallinjsevy

Copy link
Copy Markdown

No description provided.

@dallinjsevy
dallinjsevy requested a review from phalestrivir July 22, 2026 14:33

@phalestrivir phalestrivir left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You may want to wait until the ESV variables PR is in that adds the global flags you need to make the changes for this PR (since you will need them)

Comment thread src/cli/config-manager/config-manager-push/config-manager-push-telemetry.ts Outdated
Comment thread src/cli/config-manager/config-manager-push/config-manager-push-telemetry.ts Outdated
Comment thread src/cli/config-manager/config-manager-push/config-manager-push-telemetry.ts Outdated
Comment thread src/cli/config-manager/config-manager-push/config-manager-push-telemetry.ts Outdated
Comment thread src/configManagerOps/FrConfigTelemetry.ts Outdated
Comment thread test/e2e/exports/fr-config-manager/cloud/telemetry/otlp/datadog.json Outdated
Comment thread test/e2e/config-manager-push-telemetry.test.js Outdated
Comment thread test/e2e/config-manager-push-telemetry.test.js Outdated
Comment thread test/e2e/config-manager-push-telemetry.test.js Outdated
/*
FRODO_MOCK=record FRODO_NO_CACHE=1 FRODO_HOST=https://openam-frodo-dev.forgeblocks.com/am frodo config-manager push telemetry -c otlp -N datadog -e test-value -D test/e2e/exports/fr-config-manager/cloud
FRODO_MOCK=record FRODO_NO_CACHE=1 FRODO_HOST=https://openam-frodo-dev.forgeblocks.com/am frodo config-manager push telemetry -D test/e2e/exports/fr-config-manager/cloud
*/

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add another test for importing using only the -c flag (no -n flag), and have it import the splunk configuration that you add in so we can also test importing splunk.

@dallinjsevy
dallinjsevy force-pushed the feature/config-manager-push-telemetry branch from 927a373 to 2c24ca1 Compare August 19, 2026 21:50
Comment thread src/cli/config-manager/config-manager-push/config-manager-push-telemetry.ts Outdated
Comment thread src/configManagerOps/FrConfigTelemetry.ts Outdated
Comment thread src/configManagerOps/FrConfigTelemetry.ts Outdated
.filter((f) => !name || f === `${name}.json`);
for (const file of files) {
const filePath = `${catDir}/${file}`;
const provider = readJsonFile(filePath) as any;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would change any to LogExporterSkeleton

Comment thread test/e2e/exports/fr-config-manager/cloud/telemetry/otlp/datadog.json Outdated
Comment thread test/e2e/config-manager-push-telemetry.e2e.test.js Outdated
Comment thread test/e2e/config-manager-push-telemetry.e2e.test.js Outdated
Comment thread test/e2e/config-manager-push-telemetry.e2e.test.js
Comment thread test/e2e/config-manager-push-telemetry.e2e.test.js
@phalestrivir

phalestrivir commented Aug 20, 2026

Copy link
Copy Markdown

Also, ensure that the config import and config export tests are passing, since I updated the library to include telemetry in the full export/import. You don't need to re-record those tests, you can just add the network calls to the mock recordings that are missing (the ones for telemetry) and then they should pass again (although you may need to still run update to update the snapshots). You can find those mock requests from the mock recordings for your config-manager push/pull test mocks. Let me know if you have questions on how to do this, but we don't want to re-record those because we don't want to break anything in the tenant

@dallinjsevy
dallinjsevy force-pushed the feature/config-manager-push-telemetry branch from 2c24ca1 to 43d75b7 Compare August 20, 2026 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants