Questions tagged [metrics]
metrics are a way to measure things.
111
questions
0
votes
0
answers
17
views
Spike in Cadvisor container_network_receive_bytes_total Metric in a Kubernetes Cluster
Summary:
I'm using Cadvisor with Prometheus in multiple Kubernetes (k8s) clusters to monitor network traffic usage. I utilize the container_network_receive_bytes_total metric in a query to calculate ...
0
votes
0
answers
23
views
Zabbix: The history of the metric is not displayed on all timeframes
There is a metric (in this case, the temperature of the router). On timeframes from minutes to the last two days, everything is displayed correctly, all data is in place.
When I try to view the ...
1
vote
1
answer
60
views
Display metric for multiple servers on a single grafana panel, using a Snowflake datasource populated from Kafka
I have a collection of servers which submit metrics to a single kafka topic. This data is stored as a row in a snowflake database in this format:
{
"disk_util": 47.7,
"location"...
0
votes
1
answer
219
views
how to give permissions to postgres_exporter user with ansible?
I need to give some rights to my user postgres_exporter to scrape metrics from postgres to grafana
I can do that on each server by
sudo -iu postgres psql -c 'GRANT pg_read_all_settings TO ...
1
vote
1
answer
295
views
Proof that aws cloudwatch get-metric-statistics works
I am learning to use the aws cloudwatch get-metric-statistics subcommand in the AWS command line tool. To prove to myself that I am using the tool correctly, I would like a simple example command that ...
0
votes
0
answers
85
views
Agent prometheus does not send metrics
I am trying to configure a Prometheus agent with the 'remote_write' function. The Prometheus agent configuration file has these parameters.
global: scrape_interval: 30s external_labels:
...
0
votes
0
answers
24
views
Prometheus Metrics - Multiple boxes in one file
My existing custom exporter for Prometheus generates:
this_metric_one 10.3
this_metric_two 11.4
Currently this is running on two boxes, Box_A and Box_B. INSTEAD, I want to have Box_C query both (...
2
votes
0
answers
246
views
Does Prometheus efficiently compress series of identical samples?
Does Prometheus efficiently store and de-duplicate long repeats of identical sample values for a metric?
I'm working with a system where some of the inputs change at a low frequency - say every 30 ...
0
votes
1
answer
107
views
Drop-down menu for "Field name" does not show log_struct() logged jsonPayload in GCP LBM menu "Create logs metric" though logs in the Logs Explorer
I need LBMs on Google Cloud Platform of metric type "Distribution" to make time series charts with values like counts or duration for many labels in one go.
Example: for 10 different steps ...
0
votes
0
answers
92
views
enough memory for downscale ubuntu server?
Management decided to downscale prod server.
Current size: Standard B16ms (16 vcpus, 64 GiB memory)
Desired size: Standard B8ms (8 vcpus, 32 GiB memory)
CPU is mostly idle (output is from sar -u)...
0
votes
0
answers
534
views
microk8s: pod resource usage metrics not available from all nodes
I am running microk8s v1.22/stable on a Linux cluster with 11 nodes. I have enabled the metrics-server plugin and installed Prometheus via the Helm chart with nodeExporter and kubeStateMetrics enabled....
3
votes
1
answer
1k
views
Kubernetes Nginx Ingress Controller Metrics
I've tried to find a documentation about the metrics exposed by the NGINX ingress controller in Kubernetes but so far I haven't found any reliable source about the metrics and what they mean.
For ...
0
votes
1
answer
301
views
Large custom GCP metric
What's the best way of creating large custom metrics in GCP?
We are running some compute instances, and want to track some custom values, e.g. the quality of an algorithm, and visualize the data into ...
2
votes
2
answers
3k
views
GKE metrics agent logging many errors
We have created GKE cluster and we are getting errors from gke-metrics-agent. The errors shows up every cca 30 minutes. It's always the same 62 errors.
All the errors have label k8s-pod/k8s-app: "...
1
vote
0
answers
292
views
Using CloudWatch to monitor concurrent users
I'm looking for a good way to monitor concurrent users in my server. The server's got a websocket connection, so it's easy to determine whether a user is connected or not. After looking into ...
1
vote
1
answer
3k
views
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 ...
0
votes
1
answer
265
views
Multi-homing: do i need Route metrics for 2 interfaces of which only one can access the internet?
I have 2 multi-homed servers which, besides each being connected to the Internet via one of their NICs, they are also connected back-to-back to each other via their 2nd NIC.
I use systemd-networkd to ...
-1
votes
2
answers
69
views
Network time metrics
I am trying to get a sense of the different networking metrics and specifically those that are about time. I find myself lost in definitions though. From the research I have done so far I found some ...
1
vote
1
answer
781
views
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 ...
1
vote
0
answers
237
views
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 ...
0
votes
2
answers
100
views
Is it "common" for an IT department to provide a Network SLA to the business internally? [closed]
Service Level Agreements (SLAs) are pretty common when services are being purchased, we all expect that our business grade ISP, cloud providers, etc will offer a guarantee of 99.9% uptime, X amount of ...
1
vote
1
answer
89
views
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 ...
0
votes
1
answer
52
views
Azure SQL metric
I am not able to find few SQL metrics in Azure. Can anyone help in how to set metrics for below topics.
1)Under utilized capacity
2)Number of databases outside of pool
3)Scale up
4)Connection ...
1
vote
1
answer
85
views
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/...
4
votes
1
answer
2k
views
Do prometheus metrics have some sort of "freshness" lifetime?
I'm scraping some metrics (openstack cinder volume sizes) every 15 minutes, and the results produce a discontinuous graph, like this:
(That's the result of the simple query cinder_volume_size_gb).
...
0
votes
0
answers
148
views
openshift metrics per namespace
Hello how can i provide usage metrics like:
- cpu usage per container
- persistantVolume fill level
- network usage per container/pod
of an openshift cluster.
But individual per namespace/project ...
0
votes
1
answer
414
views
Nagios - check procs and --metric=elapsed on the same service
After many days of working and searching onn the net, I'm getting back to you as a last chance for help.
I'm working actually on monitoring unix process with nagios core 4.4.3 with nrpe .
My goal is ...
0
votes
1
answer
33
views
is there something like the stem-and-leaf plot for timeseries?
When wanting to quickly take a look at the distribution of a sequence of values, the stem-and-leaf plot is an incredibly simple, yet powerful tool. It takes a few minutes to teach the computer to draw ...
1
vote
1
answer
199
views
Azure Data Out metric. View data source / destination [duplicate]
I have an app service that has been running for a while with steady usage. We noticed that late last night / early this morning there was a large spike in data out. Our website has an authenticated ...
3
votes
2
answers
7k
views
Disk usage metrics missing from Prometheus node exporter
I used Prometheus and node exporter a while ago and had access to node_filesystem_* metrics to monitor disk usage but I've recently fired it up on some other servers (Ubuntu Linux) and those metrics ...
1
vote
1
answer
1k
views
Can metrics "kubelet_volume_*" get value from volumes created by Ceph?
We are facing one question about monitoring volume storage.
We use metrics "kubelet_volume_stats_used_bytes" and "kubelet_volume_stats_capacity_bytes". On our lab we have > 100 volumes mounted to ...
2
votes
1
answer
994
views
How do I configure Prometheus for aggregated metrics?
I have five related questions around the configuration of Prometheus for aggregated metric reception.
There are some invariants in my system:
Python server code that needs to be instrumented
...
1
vote
1
answer
250
views
How to extract Kubernetes core metrics usage over time - metrics-server
I am using metrics-server in Kubernetes. How do I extract data relating to these core metrics:
Number of pods running for each horizontal pod over a period of time
CPU usage at certain points in time
...
1
vote
1
answer
2k
views
AWS Application Load Balancer - processed bytes metric
I have just finished setting up Application Load Balancer on AWS.
I am trying to figure why my Processed Bytes metric is giving such a high number (and as a result Consumed Capacity Units go up and ...
0
votes
1
answer
1k
views
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 ...
0
votes
0
answers
753
views
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 ...
2
votes
2
answers
4k
views
kubectl top node doesn't work. Looks like an issue with heapster
I have a fresh k8s cluster on gke.
Whenever I run kubectl top node gke-data-custom-vm-6-25-0cbae9b9-hrkc
I get
Error from server (NotFound): the server could not find the requested resource (get ...
0
votes
1
answer
428
views
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, ...
1
vote
0
answers
16
views
Azure Event Hub: message-contents-driven metrics
Event Hub has a builtin Incoming Messages metric which shows how many messages were received but it does not allow to see what those messages are.
I am looking for a simple solution to have a metric ...
0
votes
1
answer
1k
views
Not understanding metrics of k6
I have load tested my server with k6 and I have some doubts about the results I have obtained.
/\ |‾‾| /‾‾/ /‾/
/\ / \ | |_/ / / /
/ \/ \ | | / ...
0
votes
1
answer
508
views
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 ...
11
votes
4
answers
49k
views
How can I monitor VM memory usage on Azure?
I have a few VMs set up as ADO (VSTS) build servers and thought I'd look into CPU and RAM usage over time to optimize the VM size.
However I have had a hard time finding anything in Azure that allows ...
0
votes
1
answer
4k
views
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 ...
0
votes
1
answer
1k
views
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 ...
0
votes
1
answer
146
views
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 ...
1
vote
1
answer
659
views
Prometheus with remote_write and backups
I'm building a prometheus stack that uses the remote_read/remote_write feature for long term storage, and I have some questions about if/how prometheus' tsdb needs to be backed up, given that it is ...
2
votes
1
answer
64
views
The command route the "Use" field is only zeroed, it does not count the route searches chosen
The route command output shows me the "Use" field but it always goes to zero, would not it be the route lookups because it does not count would it have something to activate so that it starts counting?...
0
votes
1
answer
147
views
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 ...
0
votes
1
answer
631
views
How to Scale graphite?
I am having a lot of trouble understanding how to scale Graphite. I have a production instance of graphite (carbon-cache + whisper + graphite-web + grafana). I am running out of disk space and I think ...
0
votes
1
answer
387
views
How to remotely pull Linux metrics into local Carbon/Graphite server?
I'd like to collect system metrics (IO, CPU, NET, RAM) from a remote RedHat server which has static IP / DNS into a Carbon / Graphite server on a VM which is running on my laptop.
My laptop host OS is ...