[
https://issues.apache.org/jira/browse/IGNITE-29314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmitry Werner updated IGNITE-29314:
-----------------------------------
Description:
When a node reads a binary object with compact footer and the metadata of its
type is not available, BinaryReaderExImpl#getOrCreateSchema fails with "Cannot
find metadata for object with compact footer".
There is no metric or event for this error. On server nodes it can only be
tracked by log messages that are not specific to it; on client nodes the lookup
logs nothing above DEBUG.
Add a counter to track it:
- register: binary.metadata
- metric: NotFoundCount (long) - total number of failed attempts to find
metadata for an object with compact footer on the node (server or client).
Thin clients and the JDBC thin driver are out of scope (no metrics there).
The metric must be documented in monitoring-metrics/new-metrics.adoc and
covered by a test.
was:
When a node reads a binary object with compact footer and the metadata of its
type
is not available, BinaryReaderExImpl#getOrCreateSchema fails with
"Cannot find metadata for object with compact footer".
There is no metric or event for this error. On server nodes it can only be
tracked
by log messages that are not specific to it; on client nodes the lookup logs
nothing
above DEBUG.
Add a counter to track it:
- register: binary.metadata
- metric: NotFoundCount (long) - total number of failed attempts to find
metadata
for an object with compact footer on the node (server or client).
Thin clients and the JDBC thin driver are out of scope (no metrics there).
The metric must be documented in monitoring-metrics/new-metrics.adoc and
covered by a test.
> Add metric for "Cannot find metadata for object with compact footer" errors
> ---------------------------------------------------------------------------
>
> Key: IGNITE-29314
> URL: https://issues.apache.org/jira/browse/IGNITE-29314
> Project: Ignite
> Issue Type: Task
> Reporter: Dmitry Werner
> Assignee: Dmitry Werner
> Priority: Major
> Labels: metrics-to-log
> Fix For: 2.20
>
>
> When a node reads a binary object with compact footer and the metadata of its
> type is not available, BinaryReaderExImpl#getOrCreateSchema fails with
> "Cannot find metadata for object with compact footer".
> There is no metric or event for this error. On server nodes it can only be
> tracked by log messages that are not specific to it; on client nodes the
> lookup logs nothing above DEBUG.
> Add a counter to track it:
> - register: binary.metadata
> - metric: NotFoundCount (long) - total number of failed attempts to find
> metadata for an object with compact footer on the node (server or client).
> Thin clients and the JDBC thin driver are out of scope (no metrics there).
> The metric must be documented in monitoring-metrics/new-metrics.adoc and
> covered by a test.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)