Skip to content

READY feat(bigtable): add metrics exporter in the client to export outstandingrpcs and perconnectionerror count#3

Merged
sushanb merged 5 commits intogo2from
go3
Dec 4, 2025
Merged

READY feat(bigtable): add metrics exporter in the client to export outstandingrpcs and perconnectionerror count#3
sushanb merged 5 commits intogo2from
go3

Conversation

@sushanb
Copy link
Copy Markdown
Owner

@sushanb sushanb commented Nov 3, 2025

No description provided.

}
baseAttrSet := attribute.NewSet(baseAttrs...)

if mr.outstandingRPCsHistogram != nil {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are too many signals for things being disabled and having a partial working state. Please reduce the number of states to 3:

  1. stats enabled and everything being exported
  2. stats disabled and nothing being exported
  3. stats enabled but there is a failure for creating meters, fail creating the client.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

stats enabled but there is a failure for creating meters, fail creating the client.
--> instead of failing client, i did not start the metrics Exporter.

@sushanb sushanb changed the title feat(bigtable): add metrics exporter in the client to export outstandingrpcs and perconnectionerror count NOT_READY feat(bigtable): add metrics exporter in the client to export outstandingrpcs and perconnectionerror count Nov 12, 2025
@sushanb sushanb force-pushed the go2 branch 3 times, most recently from 9cc5825 to 57713c3 Compare November 16, 2025 23:14
@sushanb sushanb changed the title NOT_READY feat(bigtable): add metrics exporter in the client to export outstandingrpcs and perconnectionerror count READY feat(bigtable): add metrics exporter in the client to export outstandingrpcs and perconnectionerror count Nov 17, 2025
Comment on lines +133 to +136
transportType := "cloudpath"
if stat.IsALTSUsed {
transportType = "directpath"
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i mentioned this in the parent pr, but I think you wanna disambiguate no connection from cloudpath

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do it as pr in main branch.

@sushanb sushanb merged commit b9d2098 into go2 Dec 4, 2025
160 of 187 checks passed
sushanb added a commit to googleapis/google-cloud-go that referenced this pull request Dec 22, 2025
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.

2 participants