-
Notifications
You must be signed in to change notification settings - Fork 18
telemetry: compile-in Azure Monitor connection string, best-effort AppInsights tracing #774
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
bfjelds (bfjelds)
wants to merge
22
commits into
user/bfjelds/datastore-generic-storage
from
user/bfjelds/mjolnir/appinsights-telemetry
Draft
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
f8b9227
telemetry: compile-in Azure Monitor connection string, best-effort Ap…
bfjelds 3303ba3
spec: wire AZURE_MONITOR_CONNECTION_STRING through trident.spec build…
bfjelds d8884ee
logging: fix unused must_use warning on tracing::subscriber::set_default
bfjelds 5a57cfb
logging: apply cargo fmt
bfjelds b1f8bde
logging: fix appinsights content-type/status handling and test guard
bfjelds cb2af38
logging: send appinsights telemetry via background uploader
bfjelds 6e799ed
logging: treat non-2xx responses as upload failures
bfjelds 8e5ca69
docs: correct telemetry failure log level in Agent-Configuration.md
bfjelds b192024
docs: correct enqueue-failure scenario in Agent-Configuration.md
bfjelds f725799
appinsights: fix flaky functional test assuming one TCP read is the f…
bfjelds 80a68d2
appinsights: support sovereign-cloud connection strings, isolate tele…
bfjelds aa7f64f
appinsights: fix sovereign-cloud endpoint without Location, clarify T…
bfjelds e2fefa6
appinsights: reject non-HTTPS ingestion endpoints
bfjelds cac07eb
management: merge DatastorePath into existing agent config missing it
bfjelds 77bf60d
docs: disclose host metadata transmitted by opt-in telemetry
bfjelds 96e0da4
spec: use optional macro expansion for trident_azmon_conn_str
bfjelds b1cb2ee
add trident repo appinsights connection; simplify comments
bfjelds cf56856
provide prod appinsights connection string
bfjelds dfee42f
telemetry: log status at startup, fix duplicated InstrumentationKey= …
bfjelds 17ceb02
telemetry: add manual_rollback_start/runtime_update_success metrics, …
bfjelds c5c6620
docs: disclose correlation_id/operation_id/command in Agent-Configura…
bfjelds b975b0f
revert: move manual_rollback_start/runtime_update_success metrics to …
bfjelds File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| fn main() -> Result<(), Box<dyn std::error::Error>> { | ||
| println!("cargo:rerun-if-env-changed=TRIDENT_VERSION"); | ||
| println!("cargo:rerun-if-env-changed=AZURE_MONITOR_CONNECTION_STRING"); | ||
| Ok(()) | ||
| } | ||
| } |
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we want OptOut as default?