Apache Flume · Schema

ComponentMetrics

Metrics for a specific Flume component (source, channel, or sink)

ApacheData CollectionETLLog AggregationOpen-SourceStreaming

Properties

Name Type Description
Type string Component type (SOURCE, CHANNEL, or SINK)
StartTime string Component start timestamp in milliseconds since epoch
StopTime string Component stop timestamp (0 if running)
EventReceivedCount string Number of events received (sources only)
EventAcceptedCount string Number of events accepted (sources only)
AppendBatchReceivedCount string Number of event batches received (sources only)
AppendBatchAcceptedCount string Number of event batches accepted (sources only)
EventPutAttemptCount string Number of event put attempts (channels only)
EventPutSuccessCount string Number of successful event puts (channels only)
EventTakeAttemptCount string Number of event take attempts (channels only)
EventTakeSuccessCount string Number of successful event takes (channels only)
ChannelSize string Current number of events in channel
ChannelCapacity string Maximum channel capacity in events
EventDrainAttemptCount string Number of drain attempts (sinks only)
EventDrainSuccessCount string Number of successful drains (sinks only)
ConnectionCreatedCount string Number of connections created (sinks only)
ConnectionClosedCount string Number of connections closed (sinks only)
ConnectionFailedCount string Number of failed connections (sinks only)
View JSON Schema on GitHub

JSON Schema

flume-monitoring-component-metrics-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-flume/refs/heads/main/json-schema/flume-monitoring-component-metrics-schema.json",
  "title": "ComponentMetrics",
  "description": "Metrics for a specific Flume component (source, channel, or sink)",
  "type": "object",
  "properties": {
    "Type": {
      "type": "string",
      "description": "Component type (SOURCE, CHANNEL, or SINK)",
      "enum": [
        "SOURCE",
        "CHANNEL",
        "SINK"
      ],
      "example": "SOURCE"
    },
    "StartTime": {
      "type": "string",
      "description": "Component start timestamp in milliseconds since epoch",
      "example": "1718153645993"
    },
    "StopTime": {
      "type": "string",
      "description": "Component stop timestamp (0 if running)",
      "example": "0"
    },
    "EventReceivedCount": {
      "type": "string",
      "description": "Number of events received (sources only)",
      "example": "1000"
    },
    "EventAcceptedCount": {
      "type": "string",
      "description": "Number of events accepted (sources only)",
      "example": "998"
    },
    "AppendBatchReceivedCount": {
      "type": "string",
      "description": "Number of event batches received (sources only)",
      "example": "50"
    },
    "AppendBatchAcceptedCount": {
      "type": "string",
      "description": "Number of event batches accepted (sources only)",
      "example": "50"
    },
    "EventPutAttemptCount": {
      "type": "string",
      "description": "Number of event put attempts (channels only)",
      "example": "998"
    },
    "EventPutSuccessCount": {
      "type": "string",
      "description": "Number of successful event puts (channels only)",
      "example": "998"
    },
    "EventTakeAttemptCount": {
      "type": "string",
      "description": "Number of event take attempts (channels only)",
      "example": "998"
    },
    "EventTakeSuccessCount": {
      "type": "string",
      "description": "Number of successful event takes (channels only)",
      "example": "997"
    },
    "ChannelSize": {
      "type": "string",
      "description": "Current number of events in channel",
      "example": "1"
    },
    "ChannelCapacity": {
      "type": "string",
      "description": "Maximum channel capacity in events",
      "example": "1000"
    },
    "EventDrainAttemptCount": {
      "type": "string",
      "description": "Number of drain attempts (sinks only)",
      "example": "997"
    },
    "EventDrainSuccessCount": {
      "type": "string",
      "description": "Number of successful drains (sinks only)",
      "example": "997"
    },
    "ConnectionCreatedCount": {
      "type": "string",
      "description": "Number of connections created (sinks only)",
      "example": "5"
    },
    "ConnectionClosedCount": {
      "type": "string",
      "description": "Number of connections closed (sinks only)",
      "example": "4"
    },
    "ConnectionFailedCount": {
      "type": "string",
      "description": "Number of failed connections (sinks only)",
      "example": "0"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/flume-monitoring-component-metrics"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.