Questions tagged [metrics]
metrics are a way to measure things.
110
questions
0
votes
0
answers
7
views
PromQL range vector, but only if there's data from the start of the range? (for a new metric)
Prometheus can return all values for a time (e.g. api_counter[1h] for all values in the last hour). When the metric is new, there will not be 1 hour of data points. Is it possible to write a promql ...
0
votes
0
answers
4
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
0
answers
87
views
How to get Kafka consumer metrics with JMX exporter for Prometheus?
Kafka version: 3.1
I didn't find a way to get Kafka consumer metrics as described in Kafka documentation from my Kafka servers. Even if I leave the "rules" section empty in the config of the ...
0
votes
0
answers
25
views
how to confirgure the metricbeat data collection and index rotation
i trying to configure metricbeat data collection with date wise pattern and tired to rotate the metricbeat logs and made changes in metricbeat.ym in output.elasticsearch: session
the changes are ...
0
votes
1
answer
18
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
28
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
19
views
Publishing nova (libvirt) metrics using ceilometer agent
I've migrated my openstack lab from kolla-ansible and have deployed 3 ceilometer and one gnocchi units using juju.
And this is my ceilometer pipeline.yaml file:
sources:
- name: meter_source
...
0
votes
0
answers
16
views
GKE collector metrics missed some metrics
[enter image description here][1]On the cluster in GKE, we have a CronJob deployed, which sends prometheus metrics to the handler. A collector is launched to it using PodMonitor. I understand that it ...
0
votes
0
answers
60
views
Autodiscovery in prometheus
This might be a newbie project so please be patient till the end of the post. I'm developing a demo data centre and have commissioned a couple of machines to act as nodes. My DC is defined as follows:
...
0
votes
0
answers
103
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
432
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
99
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 ...
1
vote
2
answers
1k
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
54
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
398
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
174
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
42
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
461
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
57
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
96
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
55
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
43
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
54
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/...
3
votes
1
answer
1k
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
46
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
293
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
23
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
135
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 ...
2
votes
2
answers
5k
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
819
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 ...
1
vote
0
answers
558
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
119
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
1k
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
419
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
3k
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
305
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
14
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
395
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
43k
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
914
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
123
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
593
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
44
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
107
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
579
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
342
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 ...
4
votes
1
answer
135
views
Reading Docker metrics in machine readable format
I'm running some Docker containers for my users. Users are able to start and stop their containers dynamically, so I would like to watch my Data space available metrics from docker info with some sort ...