Skip to content

Commit

Permalink
Update metrics index
Browse files Browse the repository at this point in the history
  • Loading branch information
poornimanayar authored Oct 30, 2024
1 parent 9b1b421 commit c78102a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions monitoring/metrics/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Metrics
summary: Collect metric data about endpoint performance using the Metrics plugin
reviewed: 2022-02-28
reviewed: 2024-10-30
component: Metrics
versions: 'Metrics:*'
related:
Expand All @@ -13,7 +13,7 @@ related:
partial: opentelemetry

The Metrics plugin collects metric data about the performance of running endpoints. This data can be forwarded to a ServiceControl monitoring instance and then viewed in ServicePulse.
The Metrics plugin collects metric data about the performance of running endpoints. This data can be forwarded to a ServiceControl monitoring instance and viewed in ServicePulse.

To see performance monitoring in action, try the [standalone demo](/tutorials/monitoring-demo/).

Expand Down Expand Up @@ -49,15 +49,15 @@ To enable collecting metrics in an environment:

## Performance impact on system resources

A ServiceControl monitoring instance is more lightweight than a regular ServiceControl instance. Nevertheless, it is not recommended to host a monitoring instance on the same machine that is hosting production endpoint instances.
A ServiceControl monitoring instance is more lightweight than a regular ServiceControl instance. Nevertheless, it is not recommended to host a monitoring instance on the same machine as production endpoint instances.

### Wire usage

Each endpoint instance collects performance metrics which are buffered and then sent. A single metrics message contains a batch of values written in a compact binary format, making reporting very lightweight.
Each endpoint instance collects performance metrics, which are buffered and then sent. A single metrics message contains a batch of values written in a compact binary format, making reporting very lightweight.

### Storage usage

A Service Control Monitoring instance processes Metric. The metric data is stored in RAM only. Logfiles are still written to disk. The metrics data are stored for at most one hour. A 100MB process can hold state for at least 100 endpoint instances.
A Service Control Monitoring instance processes Metrics. The metric data is stored in RAM only. Logfiles are still written to disk. The metrics data are stored for at most one hour. A 100MB process can hold state for at least 100 endpoint instances.

### CPU usage

Expand Down

0 comments on commit c78102a

Please sign in to comment.