GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — logging: omit logName from entries by ofrobots · Pull Request #2305 · googleapis/google-cloud-node

Conversation

@ofrobots

@ofrobots ofrobots commented May 12, 2017

Copy link
Copy Markdown
Contributor

As per 1 we do not need to have logName assigned on each entry if we
are also providing it on call to entries.write.

This optimization reduces the on-the-wire packet size for LogEntries.

As a follow-on, I will make the same optimization for the resource.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

stephenplusplus reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@ofrobots
logging: omit logName from entries
4450fd0
As per [1] we do not need to have logName assigned on each entry if we
are also providing it on call to entries.write.

This optimization reduces the on-the-wire packet size for LogEntries.

[1]: https://cloud.google.com/logging/docs/reference/v2/rest/v2/entries/write
@ofrobots ofrobots added the api: logging Issues related to the Cloud Logging API. label May 12, 2017
@ofrobots
ofrobots requested a review from stephenplusplus May 12, 2017 16:47
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 12, 2017
@ofrobots

ofrobots commented May 12, 2017

Copy link
Copy Markdown
Contributor Author

Calls to write insert the logName here.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coveralls

coveralls commented May 12, 2017

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.4%) to 99.566% when pulling 4450fd0 on ofrobots:omit-logname into b043cda on GoogleCloudPlatform:master.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@stephenplusplus
stephenplusplus merged commit acbee3a into googleapis:master May 13, 2017
@ofrobots ofrobots mentioned this pull request May 15, 2017
logging: omit resource from each log entry #2309
Merged
@ofrobots
ofrobots deleted the omit-logname branch May 15, 2017 19:11
sofisl pushed a commit that referenced this pull request Feb 25, 2026
@d-goog
feat: Transfer Manager Metrics (#2305)
f6a55f2
* feat: Transfer Manager Metrics

* fix: Add missing `gccl-gcs-cmd/` prefix

* fix: remove unused method

* refactor: update logic for both headers

* refactor: use `Symbol.for` in case the file is evaluated multiple times

* fix: add missing URL param

* fix: if header doesn't exist, add it

* test: Add `GCCL_GCS_CMD_KEY` TM tests

* feat: Add base `x-goog-api-client` for XML API

* chore: dep type change

* fix: pass `GCCL_GCS_CMD_KEY`

* refactor: remove unused

* test: Add `GCCL_GCS_CMD` tests

* chore: cleanup
sofisl pushed a commit that referenced this pull request Feb 26, 2026
@release-please
chore(main): release 8.1.0 (#2305)
f3bd153
🤖 I have created a release *beep* *boop*
---


## [8.1.0](https://togithub.com/googleapis/nodejs-spanner/compare/v8.0.0...v8.1.0) (2025-07-28)


### Features

* Add Custom OpenTelemetry Exporter in for Service Metrics ([#2272](https://togithub.com/googleapis/nodejs-spanner/issues/2272)) ([610d1b9](https://togithub.com/googleapis/nodejs-spanner/commit/610d1b989ba186c0758791343deaa7f683c4bd26))
* Add methods from gax to cache proto root and process custom error details ([#2330](https://togithub.com/googleapis/nodejs-spanner/issues/2330)) ([1b3931a](https://togithub.com/googleapis/nodejs-spanner/commit/1b3931a799bdd052adc91703e59e1d0c83270065))
* Add metrics tracers ([#2319](https://togithub.com/googleapis/nodejs-spanner/issues/2319)) ([192bf2b](https://togithub.com/googleapis/nodejs-spanner/commit/192bf2bb603bca4ac481fcfd1f04974173adc6a1))
* Add support for AFE latency metrics ([#2348](https://togithub.com/googleapis/nodejs-spanner/issues/2348)) ([0666f05](https://togithub.com/googleapis/nodejs-spanner/commit/0666f05d589e2f229b44dffae8e9649220bccf8b))
* Add throughput_mode to UpdateDatabaseDdlRequest to be used by Spanner Migration Tool. See https://togithub.com/GoogleCloudPlatform/spanner-migration-tool ([#2304](https://togithub.com/googleapis/nodejs-spanner/issues/2304)) ([a29af56](https://togithub.com/googleapis/nodejs-spanner/commit/a29af56ae3c31f07115cb938bcf3f0f77241b725))
* Operation, Attempt, and GFE metrics ([#2328](https://togithub.com/googleapis/nodejs-spanner/issues/2328)) ([646e6ea](https://togithub.com/googleapis/nodejs-spanner/commit/646e6ea6f1dc5fa1937e512ae9e81ae4d2637ed0))
* Proto changes for an internal api ([#2356](https://togithub.com/googleapis/nodejs-spanner/issues/2356)) ([380e770](https://togithub.com/googleapis/nodejs-spanner/commit/380e7705a23a692168db386ba5426c91bf1587b6))
* **spanner:** A new field `snapshot_timestamp` is added to message `.google.spanner.v1.CommitResponse` ([#2350](https://togithub.com/googleapis/nodejs-spanner/issues/2350)) ([0875cd8](https://togithub.com/googleapis/nodejs-spanner/commit/0875cd82e99fa6c95ab38807e09c5921303775f8))
* **spanner:** Add new change_stream.proto ([#2315](https://togithub.com/googleapis/nodejs-spanner/issues/2315)) ([57d67be](https://togithub.com/googleapis/nodejs-spanner/commit/57d67be2e3b6d6ac2a8a903acf8613b27a049c3b))
* **spanner:** Add tpc support ([#2333](https://togithub.com/googleapis/nodejs-spanner/issues/2333)) ([a381cab](https://togithub.com/googleapis/nodejs-spanner/commit/a381cab92c31373a6a10edca0f8a8bdfc4415e4b))
* Track precommit token in r/w apis(multiplexed session) ([#2312](https://togithub.com/googleapis/nodejs-spanner/issues/2312)) ([3676bfa](https://togithub.com/googleapis/nodejs-spanner/commit/3676bfa60725c43f85a04ead87943be92e4a99f0))


### Bug Fixes

* Docs-test ([#2297](https://togithub.com/googleapis/nodejs-spanner/issues/2297)) ([61c571c](https://togithub.com/googleapis/nodejs-spanner/commit/61c571c729c2a065df6ff166db784a6e6eaef74d))
* Ensure context propagation works in Node.js 22 with async/await ([#2326](https://togithub.com/googleapis/nodejs-spanner/issues/2326)) ([e8cdbed](https://togithub.com/googleapis/nodejs-spanner/commit/e8cdbedd55f049b8c7766e97388ed045fedd1b4e))
* Pass the Span correctly ([#2332](https://togithub.com/googleapis/nodejs-spanner/issues/2332)) ([edaee77](https://togithub.com/googleapis/nodejs-spanner/commit/edaee7791b2d814f749ed35119dd705924984a78))
* System test against emulator ([#2339](https://togithub.com/googleapis/nodejs-spanner/issues/2339)) ([2a6af4c](https://togithub.com/googleapis/nodejs-spanner/commit/2a6af4c36484f44929a2fac80d8f225dad5d702c))
* Unhandled exceptions from gax ([#2338](https://togithub.com/googleapis/nodejs-spanner/issues/2338)) ([6428bcd](https://togithub.com/googleapis/nodejs-spanner/commit/6428bcd2980852c1bdbc4c3d0ab210a139e5f193))


### Performance Improvements

* Skip gRPC trailers for StreamingRead & ExecuteStreamingSql ([#2313](https://togithub.com/googleapis/nodejs-spanner/issues/2313)) ([8bd0781](https://togithub.com/googleapis/nodejs-spanner/commit/8bd0781e8b434a421f0e0f3395439a5a86c7847c))

---
This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
GautamSharda pushed a commit that referenced this pull request Mar 5, 2026
@ofrobots @stephenplusplus
logging: omit logName from entries (#2305)
42bd4e8
As per [1] we do not need to have logName assigned on each entry if we
are also providing it on call to entries.write.

This optimization reduces the on-the-wire packet size for LogEntries.

[1]: https://cloud.google.com/logging/docs/reference/v2/rest/v2/entries/write
@GautamSharda GautamSharda mentioned this pull request Mar 5, 2026
migrate code from googleapis/nodejs-logging #7514
Merged
4 tasks
@meltsufin meltsufin mentioned this pull request Mar 10, 2026
chore: migrate code from googleapis/nodejs-logging #7550
Merged
thiyaguk09 pushed a commit to thiyaguk09/google-cloud-node-fork that referenced this pull request Mar 18, 2026
@d-goog
feat: Transfer Manager Metrics (googleapis#2305)
3def27b
* feat: Transfer Manager Metrics

* fix: Add missing `gccl-gcs-cmd/` prefix

* fix: remove unused method

* refactor: update logic for both headers

* refactor: use `Symbol.for` in case the file is evaluated multiple times

* fix: add missing URL param

* fix: if header doesn't exist, add it

* test: Add `GCCL_GCS_CMD_KEY` TM tests

* feat: Add base `x-goog-api-client` for XML API

* chore: dep type change

* fix: pass `GCCL_GCS_CMD_KEY`

* refactor: remove unused

* test: Add `GCCL_GCS_CMD` tests

* chore: cleanup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@stephenplusplus stephenplusplus Awaiting requested review from stephenplusplus

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: logging Issues related to the Cloud Logging API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@ofrobots @coveralls @stephenplusplus @googlebot
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.