Questions tagged [metrics]

metrics are a way to measure things.

Metrics are a way to measure things.

For instance, in networks, it is used to identify the cost of an operation. If you have a packet that needs to go from router A to router B, it can get there by either going through router D or router C. Router A will calculate the cost, this is based on metrics. A router can calculate a metric by looking at what routing protocol is used by another router and its bandwidth. It will try to always use the router with the lowest metric.

112 questions
1
vote
1 answer

Why does my prometheus dashboard only show 2 weeks of data when I have longer term data available?

I have Prometheus configured with Thanos. I'm using the Node Exporter Full dashboard to view data from the node exporter. Regardless of what time range I select (e.g., now-20d), the dashboard only shows 2 weeks of data: If I go to the "Explore" UI…
larsks
  • 43,623
  • 14
  • 121
  • 180
1
vote
1 answer

how to send alert on the same incident using logs-based metrics

On GCP we have created various logs-based metric where we basically are looking for log entries with some keywords like 'error', 'warning' etc... We also created alerts based on those metrics. Most of the logs come from cron like…
bogumbiker
  • 87
  • 1
  • 7
1
vote
0 answers

How to find the route that has internet connection and set it as default (lowest metric) with NetworkManager (Ubuntu)

~$ route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default 192.168.30.102 0.0.0.0 UG 100 0 0 eth0 default 192.168.137.1 0.0.0.0 UG 101 …
Aminos
  • 111
  • 2
1
vote
1 answer

AWS CloudWatch metric for EC2 security updates

Is it possible to create an AWS CloudWatch metric which keeps track of the pending security updates on an EC2 (Ubuntu) instance? The idea is to have a quicker overview of EC2 instances who are in need of security patches. By creating a metric for…
SolveSoul
  • 113
  • 5
1
vote
1 answer

Are Azure VM Metrics Always Accurate?

I have an Azure VM that is supposedly sized at [Standard B8ms (8 vcpus, 32 GiB memory)]. The Azure metric is pegged at 16%. When I log in to the server, the server is maxed out. The services/applications it runs have not changed, but the performance…
0
votes
1 answer

Creating an AWS Cloudwatch Alarm to monitor an AWS SQS Dead Letter Queue

I want create a CloudWatch Alarm that triggers every time a message is sent to an SQS Dead Letter Queue and then clears 5 minutes later, unless one or messages are sent in the interim in which case the alarm should remain I think the easiest…
0
votes
0 answers

sar -dp reports individual disks higher than their devicemapper logical volume

I am trying to figure out how sysstat is reporting the utilization of the device mapper logical volume, lower than the individual disks that make up the logical volume. I keep trying to do the math but I cant make sense of it. This is the…
cdiehl
  • 46
  • 4
0
votes
1 answer

kube-system pods in private GKE cluster can't make internet connections

After migrating all our Kubernetes workloads to private clusters, we've found that the SD metrics explorer is no longer receiving any data. Although we have cloud NAT setup to work with all subnets, pods in kube-system are unable to connect to the…
0
votes
1 answer

Not understanding metrics of k6

I have load tested my server with k6 and I have some doubts about the results I have obtained. /\ |‾‾| /‾‾/ /‾/ /\ / \ | |_/ / / / / \/ \ | | / ‾‾\ / \ | |‾\ \ | (_) | /…
John
  • 1
  • 3
0
votes
1 answer

Unexpected CPU Percentage with azure metrics

I'm currently having trouble to explain the following behavior on an azure VM. The VM is a Standard DS4 v2 Promo (8 vcpus, 28 GB memory) with Ubuntu 18.04 freshly installed. I generate some workload using stress --cpu 1. Now if I check the Average…
0
votes
1 answer

metrics-server CrashLoopBackOff on k8s v1.11.1

Using kubeadm and flannel over 4-nodes running on RHEL 7 I did the following: Open port 10250 on all nodes Applied Failed to get kubernetes address: No kubernetes source found to address no source found issue Ran kubectl create -f deploy/1.8+/ Ran…
horcle_buzz
  • 175
  • 3
  • 10
0
votes
1 answer

textfile for Windows

I need to export some custom metrics generated by a script under Windows. Under Linux, I am already doing it, based on Robust Perception / Brian Brazil article : The node exporter includes many metrics out of the box, it can't possibly cover all…
Franklin Piat
  • 806
  • 8
  • 24
0
votes
1 answer

Can Azure metrics logging frequency/collection period be changed?

Per Azure documentation: All metrics have one-minute frequency (unless specified otherwise in a metric's definition). Also, at least for VM guest metrics, when enabled the metrics are stored in an Azure Storage Table that aggregates 10 days of…
Dillon Brown
  • 278
  • 2
  • 7
0
votes
2 answers

Is it possible to find information on apache_mod_php processes under /proc?

I have an apache2 server with apache2_mod_php installed. Is there a way for me to determine from the information under /proc (or elsewhere), which apache processes are currently executing the php module, and which VirtualHost is responsible? …
Brent
  • 22,857
  • 19
  • 70
  • 102
0
votes
1 answer

Is there a way to monitor network traffic from outside the Vnet in Azure?

I can view the network traffic into an Azure VM, but I would like to view network traffic coming from communications outside the LAN. Is it possible to show this info in Azure? IE I have this graph which shows total network usage, but I would like…
A_toaster
  • 155
  • 5