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

[*] use Metric term for definition and Measurement for data gathered #347

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

pashagolub
Copy link
Collaborator

Everywhere in code where we are talking about defining what and how to monitor, we call it Metric. Everywhere in code where we are working with the real data obtained from sources, we call that Measurement.

For example, "table_bloat" is a metric showing how many bloated space a table occupies. And "bloat_percent":2,"table_name":"foo", "epoch_ns":1705078795154269000,"real_dbname":"pgwatch3" is a measurement.

Everywhere in code where we are talking about defining what and how to
monitor, we call it `Metric`. Everywhere in code where we are working
with the real data obtained from sources, we call that `Measurement`.

For example, "table_bloat" is a **metric** showing how many bloated
space a table occupies. And `"bloat_percent":2,"table_name":"foo",
"epoch_ns":1705078795154269000,"real_dbname":"pgwatch3"` is a
**measurement**.
@pashagolub pashagolub self-assigned this Jan 12, 2024
@pashagolub pashagolub added the refactoring Something done as it should've been done from the start label Jan 12, 2024
@pashagolub pashagolub merged commit c673292 into master Jan 12, 2024
8 checks passed
@pashagolub pashagolub deleted the metric-measurement-naming branch January 12, 2024 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Something done as it should've been done from the start
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant