Updated documentation for OshiSysMonitor#14799
Updated documentation for OshiSysMonitor#14799hardikbajaj wants to merge 0 commit intoapache:masterfrom
Conversation
|
I didn't noticed wrong formatter formatted this file on my local :( . I'll get back with updated documentation |
docs/operations/metrics.md
Outdated
| The `taskIngestionMode` dimension includes the following modes: | ||
| * `APPEND`: a native ingestion job appending to existing segments | ||
| The `taskIngestionMode` dimension includes the following modes: | ||
|
|
There was a problem hiding this comment.
can you revert this formatting change?
There was a problem hiding this comment.
This blank line is coming again with auto formatting. Do you want me to remove this ?
docs/operations/metrics.md
Outdated
|
|
||
|
|
||
| You can configure Druid to [emit metrics](../configuration/index.md#enabling-metrics) that are essential for monitoring query execution, ingestion, coordination, and so on. | ||
| You can configure Druid to [emit metrics](../configuration/index.md#enabling-metrics) that are essential for monitoring |
There was a problem hiding this comment.
| You can configure Druid to [emit metrics](../configuration/index.md#enabling-metrics) that are essential for monitoring | |
| You can configure Druid to [emit metrics](../configuration/index.md#enabling-metrics) that are essential for monitoring query execution, ingestion, coordination, and so on. |
docs/operations/metrics.md
Outdated
|
|
||
| You can configure Druid to [emit metrics](../configuration/index.md#enabling-metrics) that are essential for monitoring query execution, ingestion, coordination, and so on. | ||
| You can configure Druid to [emit metrics](../configuration/index.md#enabling-metrics) that are essential for monitoring | ||
| query execution, ingestion, coordination, and so on. |
docs/operations/metrics.md
Outdated
| ### Router | ||
| |Metric|Description|Dimensions|Normal value| | ||
|
|
||
| |Metric|Description|Dimensions|Normal Value| |
There was a problem hiding this comment.
| |Metric|Description|Dimensions|Normal Value| | |
| |Metric|Description|Dimensions|Normal value| |
docs/operations/metrics.md
Outdated
| #### Memcached only metrics | ||
|
|
||
| Memcached client metrics are reported as per the following. These metrics come directly from the client as opposed to from the cache retrieval layer. | ||
| Memcached client metrics are reported as per the following. These metrics come directly from the client as opposed to |
There was a problem hiding this comment.
| Memcached client metrics are reported as per the following. These metrics come directly from the client as opposed to | |
| Memcached client metrics are reported as per the following. These metrics come directly from the client. |
docs/operations/metrics.md
Outdated
|
|
||
| Memcached client metrics are reported as per the following. These metrics come directly from the client as opposed to from the cache retrieval layer. | ||
| Memcached client metrics are reported as per the following. These metrics come directly from the client as opposed to | ||
| from the cache retrieval layer. |
docs/operations/metrics.md
Outdated
| |`true`|`true `|Invalid combination, exception thrown.| | ||
| |`false`|`false`|`REPLACE_LEGACY`. The default for JSON-based batch ingestion. | | ||
| |`false`|`true`|`REPLACE`| | ||
| | `isAppendToExisting` | `isDropExisting` | mode | |
There was a problem hiding this comment.
| | `isAppendToExisting` | `isDropExisting` | mode | | |
| |`isAppendToExisting`|`isDropExisting`|mode| |
docs/operations/metrics.md
Outdated
| |`false`|`false`|`REPLACE_LEGACY`. The default for JSON-based batch ingestion. | | ||
| |`false`|`true`|`REPLACE`| | ||
| | `isAppendToExisting` | `isDropExisting` | mode | | ||
| |----------------------|-------------------|------| |
There was a problem hiding this comment.
| |----------------------|-------------------|------| | |
| |--------------------|----------------|----| |
docs/operations/metrics.md
Outdated
| |`false`|`true`|`REPLACE`| | ||
| | `isAppendToExisting` | `isDropExisting` | mode | | ||
| |----------------------|-------------------|------| | ||
| | `true` | `false` | `APPEND`| |
There was a problem hiding this comment.
| | `true` | `false` | `APPEND`| | |
| |`true`|`false`|`APPEND`| |
docs/operations/metrics.md
Outdated
| | `isAppendToExisting` | `isDropExisting` | mode | | ||
| |----------------------|-------------------|------| | ||
| | `true` | `false` | `APPEND`| | ||
| | `true` | `true ` | Invalid combination, exception thrown. | |
There was a problem hiding this comment.
| | `true` | `true ` | Invalid combination, exception thrown. | | |
| |`true`|`true`|Invalid combination, exception thrown.| |
docs/operations/metrics.md
Outdated
| |----------------------|-------------------|------| | ||
| | `true` | `false` | `APPEND`| | ||
| | `true` | `true ` | Invalid combination, exception thrown. | | ||
| | `false` | `false` | `REPLACE_LEGACY` (this is the default for native batch ingestion). | |
There was a problem hiding this comment.
| | `false` | `false` | `REPLACE_LEGACY` (this is the default for native batch ingestion). | | |
| |`false`|`false`|`REPLACE_LEGACY` (This is the default for native batch ingestion.)| |
docs/operations/metrics.md
Outdated
| | `true` | `false` | `APPEND`| | ||
| | `true` | `true ` | Invalid combination, exception thrown. | | ||
| | `false` | `false` | `REPLACE_LEGACY` (this is the default for native batch ingestion). | | ||
| | `false` | `true` | `REPLACE`| |
There was a problem hiding this comment.
| | `false` | `true` | `REPLACE`| | |
| |`false`|`true`|`REPLACE`| |
docs/operations/metrics.md
Outdated
| |`ingest/handoff/time`|Total number of milliseconds taken to handoff a set of segments.|`dataSource`, `taskId`, `taskType`, `groupId`, `tags`|Depends on the coordinator cycle time.| | ||
| |`ingest/handoff/time`|Total number of milliseconds taken to handoff a set of segments.|`dataSource`, `taskId`, `taskType`, `groupId`, `tags`|Depends on the coordinator cycle time.| | ||
| If the JVM does not support CPU time measurement for the current thread, `ingest/merge/cpu` and `ingest/persists/cpu` will be 0. | ||
| |`ingest/handoff/time`|Total number of milliseconds taken to handoff a set of segments.|`dataSource`, `taskId`, `taskType`, `groupId`, `tags`|Depends on coordinator cycle time.| |
There was a problem hiding this comment.
| |`ingest/handoff/time`|Total number of milliseconds taken to handoff a set of segments.|`dataSource`, `taskId`, `taskType`, `groupId`, `tags`|Depends on coordinator cycle time.| | |
| |`ingest/handoff/time`|Total number of milliseconds taken to handoff a set of segments.|`dataSource`, `taskId`, `taskType`, `groupId`, `tags`|Depends on the coordinator cycle time.| |
docs/operations/metrics.md
Outdated
|
|
||
| The shuffle metrics can be enabled by adding `org.apache.druid.indexing.worker.shuffle.ShuffleMonitor` in `druid.monitoring.monitors` | ||
| The shuffle metrics can be enabled by adding `org.apache.druid.indexing.worker.shuffle.ShuffleMonitor` | ||
| in `druid.monitoring.monitors` |
There was a problem hiding this comment.
| in `druid.monitoring.monitors` | |
| in `druid.monitoring.monitors`. |
| The shuffle metrics can be enabled by adding `org.apache.druid.indexing.worker.shuffle.ShuffleMonitor` in `druid.monitoring.monitors` | ||
| The shuffle metrics can be enabled by adding `org.apache.druid.indexing.worker.shuffle.ShuffleMonitor` | ||
| in `druid.monitoring.monitors` | ||
| See [Enabling Metrics](../configuration/index.md#enabling-metrics) for more details. |
There was a problem hiding this comment.
| See [Enabling Metrics](../configuration/index.md#enabling-metrics) for more details. | |
| See [Enabling metrics](../configuration/index.md#enabling-metrics) for more details. |
docs/operations/metrics.md
Outdated
| ## Sys | ||
| ## Sys [Deprecated] | ||
|
|
||
| > SysMonitor will be deprecated due to its reliance on the sigar library, which is no longer maintained. |
There was a problem hiding this comment.
| > SysMonitor will be deprecated due to its reliance on the sigar library, which is no longer maintained. | |
| > SysMonitor is now deprecated and will be removed in future releases. |
docs/operations/metrics.md
Outdated
| ## Sys [Deprecated] | ||
|
|
||
| > SysMonitor will be deprecated due to its reliance on the sigar library, which is no longer maintained. | ||
| > A new Monitor called [OshiSysMonitor](#oshisysmonitor), which provides similar functionality but is based on the oshi |
There was a problem hiding this comment.
| > A new Monitor called [OshiSysMonitor](#oshisysmonitor), which provides similar functionality but is based on the oshi | |
| > Instead, use the new OSHI monitor called [OshiSysMonitor](#oshisysmonitor). The new monitor has a wider support for different machine architectures including ARM instances. |
docs/operations/metrics.md
Outdated
|
|
||
| > SysMonitor will be deprecated due to its reliance on the sigar library, which is no longer maintained. | ||
| > A new Monitor called [OshiSysMonitor](#oshisysmonitor), which provides similar functionality but is based on the oshi | ||
| > library. We encourage all users to switch to OshiSysMonitor as soon as possible. |
docs/operations/metrics.md
Outdated
| |`sys/mem/max`|Memory max||Varies| | ||
| |`sys/storage/used`|Disk space used|`fsDirName`|Varies| | ||
| |`sys/cpu`|CPU used|`cpuName`, `cpuTime`|Varies| | ||
| | Metric | Description |Dimensions|Normal Value| |
There was a problem hiding this comment.
If SysMonitor is deprecated, should these metrics be removed?
Also, please fix the table formatting. Do not add whitespace to make columns longer. Trim excessive white space between columns.
docs/operations/metrics.md
Outdated
|
|
||
| These metrics are only available if the `OshiSysMonitor` module is included. | ||
|
|
||
| | Metric | Description | Dimensions | Normal Value | |
There was a problem hiding this comment.
Please fix the table formatting.
Do not add whitespace to make columns longer. Trim excessive white space between columns.
website/.spelling
Outdated
| org.apache.druid.jetty.RequestLog | ||
| org.apache.hadoop | ||
| overlord.html | ||
| oshi |
There was a problem hiding this comment.
| oshi | |
| OSHI |
website/.spelling
Outdated
| sql | ||
| sqlQuery | ||
| successfulSending | ||
| sigar |
There was a problem hiding this comment.
| sigar | |
| [S]igar |
ektravel
left a comment
There was a problem hiding this comment.
Reviewed documentation portion of the PR.
|
@ektravel @abhishekagarwal87 , This PR got closed accidentally, I have moved it to a new PR now #14912 and addressed all the comments there. |
Fixes #14359
Description
Updates documentation for OshiSysMontior
Fixed the bug ...
Renamed the class ...
Added a forbidden-apis entry ...
Release note
Key changed/added classes in this PR
This PR has: