-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix config file reading for GCF * Allow specifying config path via env variable * Automatically fall back to other file paths if config file can't be found
- Loading branch information
1 parent
fe1d3a6
commit bf40949
Showing
3 changed files
with
81 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
core/configuration/testdata/subfolder/dtconfig_test_valid.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"AgentActive": true, | ||
"ClusterID": 12345, | ||
"Tenant": "subfolder_config", | ||
"Connection": { | ||
"AuthToken": "dt0a01.schnitzel.xsdffdedr", | ||
"BaseUrl": "https://ag.xyz.com" | ||
}, | ||
"RUM": { | ||
"ClientIpHeaders": [ | ||
"x-forwarded-for" | ||
] | ||
}, | ||
"Testability": { | ||
"SpanProcessingIntervalMs": 3000, | ||
"KeepAliveIntervalMs": 30000, | ||
"MetricCollectionIntervalMs": 10000, | ||
"MetricCollectionsPerExport": 6 | ||
}, | ||
"Logging": { | ||
"Destination": "stderr", | ||
"Go": { | ||
"Flags": "Exporter=true,Propagator=false" | ||
} | ||
}, | ||
"Debug": { | ||
"AddStackOnStart": true | ||
} | ||
} |