Kernel and Apache Inlong Integration

Powerful performance with an easy integration, powered by Telegraf, the open source data connector built by InfluxData.

info

This is not the recommended configuration for real-time query at scale. For query and compression optimization, high-speed ingest, and high availability, you may want to consider using the Kernal plugin with InfluxDB.

5B+

Telegraf downloads

#1

Time series database
Source: DB Engines

1B+

Downloads of InfluxDB

2,800+

Contributors

Table of Contents

Powerful Performance, Limitless Scale

Collect, organize, and act on massive volumes of high-velocity data. Any data is more valuable when you think of it as time series data. with InfluxDB, the #1 time series platform built to scale with Telegraf.

See Ways to Get Started

Input and output integration overview

The Kernel plugin collects various statistics about the Linux kernel, including context switches, page usage, and entropy availability.

The Inlong plugin connects Telegraf to Apache InLong, enabling seamless transmission of collected metrics to an InLong instance.

Integration details

Kernel

The Kernel plugin is designed exclusively for Linux systems and gathers essential kernel statistics that are not covered by other plugins. It primarily focuses on the metrics available in /proc/stat, as well as the entropy available from /proc/sys/kernel/random/entropy_avail. Additional functionalities include the capture of Kernel Samepage Merging (KSM) data and Pressure Stall Information (PSI), requiring Linux kernel version 4.20 or later. This plugin provides a comprehensive look into system behaviors, enabling better understanding and optimization of resource management and usage. The metrics it collects are critical for monitoring system health and performance.

Apache Inlong

This Inlong plugin is designed to publish metrics to an Apache InLong instance, which facilitates the management of data streams in a scalable manner. Apache InLong provides a robust framework for efficient data transmission between various components in a distributed environment. By leveraging this plugin, users can effectively route and transmit metrics collected by Telegraf to their InLong data-proxy infrastructure. As a key component in a data pipeline, the Inlong Output Plugin helps ensure that data is consistently formatted, streamed correctly, and managed in compliance with the standards set by Apache InLong, making it an essential tool for organizations looking to enhance their data analytics and reporting capabilities.

Configuration

Kernel

[[inputs.kernel]]
  ## Additional gather options
  ## Possible options include:
  ## * ksm - kernel same-page merging
  ## * psi - pressure stall information
  # collect = []

Apache Inlong

[[outputs.inlong]]
  ## Manager URL to obtain the Inlong data-proxy IP list for sending the data
  url = "http://127.0.0.1:8083"

  ## Unique identifier for the data-stream group
  group_id = "telegraf"  

  ## Unique identifier for the data stream within its group
  stream_id = "telegraf"  

  ## Data format to output.
  ## Each data format has its own unique set of configuration options, read
  ## more about them here:
  ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_OUTPUT.md
  # data_format = "influx"

Input and output integration examples

Kernel

  1. Memory Optimization through KSM: Utilize the KSM capabilities of this plugin to monitor memory usage patterns in your applications and dynamically adjust the memory allocation strategy based on shared page usage metrics. By analyzing the data collected, you can identify opportunities for consolidating memory and optimizing performance without manual intervention.

  2. Real-time System Health Monitoring: Integrate the metrics collected by the Kernel plugin into a real-time dashboard that visualizes key kernel statistics including context switches, interrupts, and entropy availability. This setup allows system administrators to proactively respond to performance issues before they escalate into critical failures, ensuring smooth operation of Linux servers.

  3. Enhanced Anomaly Detection: Combine the data from this plugin with machine learning models to predict and detect anomalies in kernel behavior. By continuously monitoring metrics like process forking rates and entropy levels, you can implement an adaptive alerting system that triggers on performance anomalies, allowing for quick responses to potential issues.

  4. Resource Usage Patterns Analysis: Use the Pressure Stall Information collected by the plugin to analyze resource usage patterns over time and identify potential bottlenecks under load conditions. By adjusting application performance based on the PSI metrics, you can improve overall resource management and maintain service reliability under varying workloads.

Apache Inlong

  1. Real-time Metrics Monitoring: Integrating the Inlong plugin with a real-time monitoring dashboard allows teams to visualize system performance continuously. As metrics flow from Telegraf to InLong, organizations can create dynamic panels in their monitoring tools, providing instant insights into system health, resource utilization, and performance bottlenecks. This setup encourages proactive management and swift identification of potential issues before they escalate into critical failures.

  2. Centralized Data Processing: Use the Inlong plugin to send Telegraf metrics to a centralized data processing pipeline that processes large volumes of data for analysis. By directing all collected metrics through Apache InLong, businesses can streamline their data workflows and ensure consistency in data formatting and processing. This centralized approach facilitates easier data integration with business intelligence tools and enhances decision-making through consolidated data insights.

  3. Integration with Machine Learning Models: By feeding metrics collected through the Inlong Output Plugin into machine learning models, teams can enhance predictive analytics capabilities. For instance, metrics can be analyzed to predict system failures or performance trends. This application allows organizations to leverage historical data and infer future performance, helping them optimize resource allocation and minimize downtime using automated alerts based on model predictions.

Feedback

Thank you for being part of our community! If you have any general feedback or found any bugs on these pages, we welcome and encourage your input. Please submit your feedback in the InfluxDB community Slack.

Powerful Performance, Limitless Scale

Collect, organize, and act on massive volumes of high-velocity data. Any data is more valuable when you think of it as time series data. with InfluxDB, the #1 time series platform built to scale with Telegraf.

See Ways to Get Started

Related Integrations

HTTP and InfluxDB Integration

The HTTP plugin collects metrics from one or more HTTP(S) endpoints. It supports various authentication methods and configuration options for data formats.

View Integration

Kafka and InfluxDB Integration

This plugin reads messages from Kafka and allows the creation of metrics based on those messages. It supports various configurations including different Kafka settings and message processing options.

View Integration

Kinesis and InfluxDB Integration

The Kinesis plugin allows for reading metrics from AWS Kinesis streams. It supports multiple input data formats and offers checkpointing features with DynamoDB for reliable message processing.

View Integration