Skip to content
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

feat(profiler): support configurable debug logging destination #8104

Merged
merged 4 commits into from
Jun 15, 2023

Conversation

noahdietz
Copy link
Contributor

Adds the ability to configure the destination of debug logs coming from a profiler. The default is os.Stderr.

Incorporates it into an existing test to make sure the routing works.

Fixes #8089

@noahdietz noahdietz requested review from a team as code owners June 15, 2023 20:52
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: cloudprofiler Issues related to the Cloud Profiler API. labels Jun 15, 2023
@noahdietz noahdietz requested a review from codyoss June 15, 2023 20:53
profiler/profiler.go Outdated Show resolved Hide resolved
@noahdietz noahdietz added the automerge Merge the pull request once unit tests and other checks pass. label Jun 15, 2023
@noahdietz noahdietz enabled auto-merge (squash) June 15, 2023 21:16
@noahdietz noahdietz merged commit fc3d840 into googleapis:main Jun 15, 2023
8 checks passed
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Jun 15, 2023
@noahdietz noahdietz deleted the profiler-logging branch June 15, 2023 21:36
gcf-merge-on-green bot pushed a commit that referenced this pull request Oct 18, 2023
🤖 I have created a release *beep* *boop*
---


## [0.4.0](https://togithub.com/googleapis/google-cloud-go/compare/profiler/v0.3.1...profiler/v0.4.0) (2023-10-18)


### Features

* **profiler:** Support configurable debug logging destination ([#8104](https://togithub.com/googleapis/google-cloud-go/issues/8104)) ([fc3d840](https://togithub.com/googleapis/google-cloud-go/commit/fc3d84058b8932152408bc3ee0a5584dfe0b0c19))
* **profiler:** Update all direct dependencies ([b340d03](https://togithub.com/googleapis/google-cloud-go/commit/b340d030f2b52a4ce48846ce63984b28583abde6))


### Bug Fixes

* **profiler:** Migrate to protobuf-go v2 ([#8730](https://togithub.com/googleapis/google-cloud-go/issues/8730)) ([deeb583](https://togithub.com/googleapis/google-cloud-go/commit/deeb58308cbbb033e46d478b4dc8766c6689e71e)), refs [#8585](https://togithub.com/googleapis/google-cloud-go/issues/8585)
* **profiler:** REST query UpdateMask bug ([df52820](https://togithub.com/googleapis/google-cloud-go/commit/df52820b0e7721954809a8aa8700b93c5662dc9b))
* **profiler:** Update golang.org/x/net to v0.17.0 ([174da47](https://togithub.com/googleapis/google-cloud-go/commit/174da47254fefb12921bbfc65b7829a453af6f5d))
* **profiler:** Update grpc to v1.55.0 ([1147ce0](https://togithub.com/googleapis/google-cloud-go/commit/1147ce02a990276ca4f8ab7a1ab65c14da4450ef))

---
This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: cloudprofiler Issues related to the Cloud Profiler API. size: s Pull request size is small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

profiler: Debug log output stream is not configurable
2 participants