Skip to content

Decide between vaadin.db.fetch.rows and vaadin.data.fetch.rows #376

Description

@heruan

feat/data-query-metrics adds vaadin.data.fetch.rows and vaadin.data.fetch.requested, measured at the data provider layer. vaadin.db.fetch.rows measures at the JDBC layer, requires DataSource proxying, and is opt-in behind vaadin.observability.database.

The two now overlap substantially and the names are almost identical. The data provider meter covers the common "which view reads too much" case, works for non-JDBC data providers, and needs no proxying.

Decide before both ship in 5.0

  • Keep both, with documentation making clear when each applies.
  • Or demote vaadin.observability.database further.
  • Or drop the JDBC row counting and keep vaadin.db.query for per query spans only.

Shipping two near-identically named row count summaries with different capture points is the outcome to avoid.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions