Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Grafanna: Monitoring CPU and Memory Utilization Trend:

  1. Login into the Client grafanato Grafana:

    • Open your web browser and navigate to the client’s Grafana login page.

    • Enter your credentials (username and password) to access the Grafana dashboard.

  2. Navigate to the Dashboard:

    • Once logged in, look for the dashboard

    and select 
    • selection menu.

    • Find and select the kubernetes-compute-resources-namespace-pods dashboard.

  3. Verify the CPU Trend:

    • Within the selected dashboard, locate the section displaying CPU utilization trends.

    • Review the CPU trend data for the specified namespace and pods to ensure there are no anomalies or issues.

...

Grafanna: Monitoring Disk Utilization Trend:

  1. Login into the Client grafana.Navigate to the dashboard and select to Client Grafana

    • Open your web browser.

    • Navigate to the Grafana login page provided by your client.

    • Enter your username and password.

    • Click on the "Log in" button to access the Grafana dashboard.

  2. Navigate to the Kubernetes-Persistent-Volumes Dashboard

    • After logging in, look at the left-hand side panel for the navigation menu.

    • Click on the "Dashboards" icon (usually represented by four squares).

    • In the search bar, type "kubernetes-persistent-volumes" and press Enter.

    • Select the "kubernetes-persistent-volumes" dashboard from the search results.

  3. Verify the Disk Utilization Trend

    • Once you are on the "kubernetes-persistent-volumes" dashboard, locate the sections displaying disk utilization metrics.

    • Review the various graphs and charts presented, focusing on metrics such as:

      • Disk

    utilization trend.

...

      • usage over time.

      • Total available disk space.

      • Used disk space.

      • Disk I/O operations.

    • Analyze the trends to identify any potential issues, such as high disk usage or unusual spikes in disk activity.

Additional Tips:

  • Adjust Time Range: If needed, adjust the time range to view disk utilization trends over different periods (e.g., last 24 hours, last 7 days, etc.).

  • Filter by Namespace or Pod: Use the available filters to narrow down the data to specific namespaces or pods for more granular analysis.

  • Export Data: If required, export the data or capture screenshots for reporting purposes or further analysis.

...

Grafanna: Create a Dashboard for Log Utilization Trend:

  • Navigate to the Grafana dashboard creation page and click on "Create a new dashboard".

  • Add a new panel to the dashboard:

    1. Click "Add panel" and choose "Add Query".

    2. Select Elasticsearch as the data source.

    3. Construct a query to retrieve log data. For example, you might use a date histogram to aggregate logs over time.

    4. Configure the query to show the count of log entries over a specified time interval (e.g., hourly, daily).

Example: Query for Log Utilization Trend:

Here’s an example of an Elasticsearch query you might use in Grafana to visualize log utilization trends:

{
"query": {
"bool": {
"must": [
{
"range": {
"@timestamp": {
"gte": "now-7d/d",
"lte": "now"
}
}
}
]
}
},
"aggs": {
"logs_over_time": {
"date_histogram": {
"field": "@timestamp",
"interval": "day"
}
}
}
}