Questions tagged [google-cloud-ops-agent]

41 questions
1
vote
0 answers

Google Cloud Ops Agent does not save logs when time_key is set

Applies to configuration: Logging processors This setup works: /etc/google-cloud-ops-agent/config.yaml logging: receivers: app: type: files include_paths: [/www/logs/app-*.log] processors: monolog: type: parse_regex …
Gander
  • 1,854
  • 1
  • 23
  • 30
1
vote
1 answer

Monitoring Apache2 in Google Cloud with Ops Agent

I have Apache2 installed in one of VMs in Google Cloud Platform. I installed Ops Agent and configured it like below per the docs: logging: receivers: mywebserver: type: files include_paths: - /var/log/apache*/access_log …
0
votes
0 answers

How to set proper time format in ops agent config?

I've tried everything I could and still can't make it work. I'm using the time key in Ops agent, and the time needs to be parsed is '2023-06-30T07:42:10.103467+00:00' I've tried many different time string format and it always shows the error as…
Ray
  • 333
  • 4
  • 11
0
votes
0 answers

How can I store processes metrics data for a longer time beyond the default 24 hr retention period in GCP ops agent?

Currently there is only 24 hrs retention period for all processes metrics collected by ops agent in gcp. As per the documentations no configuration changes can be made to change this default value. Is there any other way to increase it's retention…
0
votes
0 answers

The Logging Agent installed in a VM suddenly stopped working

About a month ago I installed the Ops Agent on a GCE's VM with the mongoDB integrationas an add-on. The /etc/google-cloud-ops-agent/config.yaml is configured like this: metrics: receivers: mongodb: type: mongodb insecure: true …
0
votes
1 answer

Ops agent gives only metrics but not logs

As per the documentation, the Ops agent provides both metrics and logs. However, when installed in the VM I'm seeing only metrics but not logs. Added the following config to the /etc/google-cloud-ops-agent/config.yaml and restarted the…
ubsk
  • 1
  • 2
0
votes
1 answer

How can I install the latest version of cloud ops agent on Ubuntu?

I faced with the issue that cloud-ops-agent consumes too much of the CPU, so I'd like to update a version of it (I found that it was a known issue for certain version). Right now I have version 2.22.0 and I'd like to update it to the latest one…
0
votes
0 answers

Ops Agent won't drop workload/jvm.threads.count over jmx when the monitored port goes down

I am trying to set up an alarm for instance over jmx, on paper it is simple, when jvm.threads.count is no more because the jmx port is not up, an alert will be sent out. However, the Ops Agent will keep on showing that the same amount of threads are…
0
votes
1 answer

the GPU-enabled version of the Ops Agent, version 2.25.1+pre.gpu.1

I followed the instruction on install ops agent but I cannot find how to correctly run the following cmd sudo bash add-google-cloud-ops-agent-repo.sh --also-install \ --version=MAJOR_VERSION.*.*
fabio.geraci
  • 305
  • 2
  • 5
  • 18
0
votes
1 answer

How to Autoscale a GCP Managed Instance Group using a Rabbitmq VM outside the group

I am using GCP and I have a specific problem to solve where I want to use the metrics from a RabbitMQ instance to control the autoscaling requirements of a Managed Instance Group. Do note that this RabbitMQ instance is outside this group and is used…
0
votes
0 answers

Integrating Google Cloud Monitoring with Heroku PostgreSQL

I host a PostgreSQL database on Heroku but most of our operations is focused in Google Cloud, for instance Logging and Monitoring. Heroku exposes some useful information in their dashboard as well via the addons, but I would love to get the…
0
votes
1 answer

Does GCP ops agent receiver support kafka version 3.2.x?

I am trying to collect logs/metrics from kafka connector in GCP. I read the documentation It seems that ops agent only support till Apache Kafka Version 3.0.0 and I am using Kafka version 3.2.3. May I know if there is any roadmap of version support…
ikhvjs
  • 5,316
  • 2
  • 13
  • 36
0
votes
1 answer

The term 'googet' is not recognized as the name of a cmdlet, function, script file, or operable program

I am following the instructions in here to install the Ops agent on my local Windows machine. These are the steps that I follow in PowerShell (as admin): (New-Object…
Andoni
  • 89
  • 10
0
votes
2 answers

GCP Logs resource_name is not the VM hostname but image source disk name

How to configure GCP log's resource_name to be the VM hostname? I collect logs from GCP VMs using ops-agent. However, the labels.compute.googleapis.com/resource_name is not showing the hostname of the VM. Instead, it is showing the source disk of…
0
votes
1 answer

Accidentally deleted all IAM users, now getting permission error while creating private service connection with GCP

I have accidentally deleted all IAM users while applying the google_project_iam_binding resource of terraform. I have now recovered all the users. Now, I want to create a private service connection with GCP to assign the private IP to CloudSQL. But…