|
|
|
|
|
by _kb
335 days ago
|
|
The breakdown used by OTel isn’t all that bad: https://opentelemetry.io/docs/concepts/signals/ In essence: Logs mark some event in the system. Metrics model some measurable, quantifiable state. In high volume systems both can then be observed through various sampling techniques. A key item is that sampling is good to handle separately to application logic creating those signals as it may change over time or be dynamic. |
|
> The moment of capturing a measurement is known as a metric event
Which suspiciously reads like a log.
In practice, a metric is an aggregate of events (the "metric events") when you're not interested in the individual event but, but in the aggregate itself. For practical reasons this is not implemented with logs but with more primitive technical events emission.
This is not fundamentally incompatible notions. If you do an electrocardiogram, you might be interested in your BPM, but it is deduced by the full log of each beat. The segregation we do in computing is more practical than fundamental.