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

Write logs to gae_app instead of gae_instance #702

Merged
merged 1 commit into from Aug 18, 2023

Conversation

dashpole
Copy link
Contributor

@dashpole dashpole commented Aug 8, 2023

Fixes #696

I also simplified MR mapping by moving returning a *monitoredrespb.MonitoredResource from the internal package, and performing utf-8 sanitization in the internal package.

@dashpole dashpole requested a review from a team as a code owner August 8, 2023 20:01
@codecov
Copy link

codecov bot commented Aug 8, 2023

Codecov Report

Merging #702 (518aad7) into main (fff463f) will decrease coverage by 0.04%.
The diff coverage is 90.90%.

@@            Coverage Diff             @@
##             main     #702      +/-   ##
==========================================
- Coverage   69.59%   69.56%   -0.04%     
==========================================
  Files          36       36              
  Lines        4717     4711       -6     
==========================================
- Hits         3283     3277       -6     
  Misses       1286     1286              
  Partials      148      148              
Files Changed Coverage Δ
exporter/collector/logs.go 45.48% <0.00%> (ø)
exporter/collector/config.go 45.04% <100.00%> (ø)
exporter/collector/monitoredresource.go 100.00% <100.00%> (ø)
exporter/metric/metric.go 69.70% <100.00%> (ø)
exporter/trace/trace_proto.go 65.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@dashpole
Copy link
Contributor Author

@aabmass can you take a look when you get the chance?

@aabmass
Copy link
Contributor

aabmass commented Aug 18, 2023

Is this just one of those weird inconsistencies between Cloud Logging and Cloud Monitoring?

@dashpole
Copy link
Contributor Author

Yes. Cloud logging has a different MR for GAE than cloud monitoring does.

@dashpole dashpole merged commit ef9b15e into GoogleCloudPlatform:main Aug 18, 2023
24 of 25 checks passed
@dashpole dashpole deleted the fix_gae_logging_mr branch August 18, 2023 16:39
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.

Incorrect Log Resource Type for GAE Logs
2 participants