Skip to content

Improving Logging/Tracing/Observability #440

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

Merged
merged 16 commits into from
Sep 16, 2024
Merged

Conversation

mattdot
Copy link
Member

@mattdot mattdot commented Sep 15, 2024

This pull request includes significant updates to the Power Platform Terraform Provider, focusing on enhancing context management, improving logging, and updating build configurations.

Enhancements to Context Management and Logging:

Build Configuration Updates:

  • .goreleaser.yml: Updated the ldflags to include additional build information such as ProviderVersion, Commit, and Branch.
  • common/release.go: Added new variables (ProviderVersion, Commit, Branch) to store build information, set during the build/release process.

API Client Improvements:

Provider Metadata and Configuration Enhancements:

Miscellaneous Changes:

These changes collectively improve the maintainability, logging, and context management of the Power Platform Terraform Provider, ensuring better traceability and debugging capabilities.Published as a draft pr so that we can talk about design

Base automatically changed from 434-update-devcontainer-to-use-mcrmicrosoftcomazterraformlatest to main September 16, 2024 12:21
mawasile
mawasile previously approved these changes Sep 16, 2024
Remove the TraceId field from the ProviderConfig struct in the config.go file. Also remove the import of the uuid package and the assignment of TraceId in the Configure function of the provider.go file.
@mattdot mattdot changed the title [DRAFT] Improving Logging/Tracing/Observability Improving Logging/Tracing/Observability Sep 16, 2024
@mattdot mattdot marked this pull request as ready for review September 16, 2024 20:47
@eduardodfmex eduardodfmex merged commit d10b610 into main Sep 16, 2024
8 checks passed
@eduardodfmex eduardodfmex deleted the mattdot/deferred-logging branch September 16, 2024 20:58
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.

3 participants