forward telemetry_url to bravo agent config
Without it the agent falls back to the hardcoded prod default at config.go:150, sending network/DNS/HTTPS events to prod while process events (via S3 presigned URL) correctly go to the configured api_url. Match Jatin's spread behavior so both channels hit the same env.
This commit is contained in:
parent
7e1533e993
commit
7b9fcb2585
3 changed files with 3 additions and 1 deletions
1
dist/pre/index.js
vendored
1
dist/pre/index.js
vendored
|
|
@ -86208,6 +86208,7 @@ function installAgentForBravo(owner, confg) {
|
||||||
correlation_id: confg.correlation_id,
|
correlation_id: confg.correlation_id,
|
||||||
working_directory: confg.working_directory,
|
working_directory: confg.working_directory,
|
||||||
api_url: confg.api_url,
|
api_url: confg.api_url,
|
||||||
|
telemetry_url: confg.telemetry_url,
|
||||||
one_time_key: confg.one_time_key,
|
one_time_key: confg.one_time_key,
|
||||||
allowed_endpoints: confg.allowed_endpoints,
|
allowed_endpoints: confg.allowed_endpoints,
|
||||||
egress_policy: confg.egress_policy,
|
egress_policy: confg.egress_policy,
|
||||||
|
|
|
||||||
2
dist/pre/index.js.map
vendored
2
dist/pre/index.js.map
vendored
File diff suppressed because one or more lines are too long
|
|
@ -577,6 +577,7 @@ export async function installAgentForBravo(owner: string, confg: Configuration)
|
||||||
correlation_id: confg.correlation_id,
|
correlation_id: confg.correlation_id,
|
||||||
working_directory: confg.working_directory,
|
working_directory: confg.working_directory,
|
||||||
api_url: confg.api_url,
|
api_url: confg.api_url,
|
||||||
|
telemetry_url: confg.telemetry_url,
|
||||||
one_time_key: confg.one_time_key,
|
one_time_key: confg.one_time_key,
|
||||||
allowed_endpoints: confg.allowed_endpoints,
|
allowed_endpoints: confg.allowed_endpoints,
|
||||||
egress_policy: confg.egress_policy,
|
egress_policy: confg.egress_policy,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue