Page MenuHomeFreeBSD

sysutils/gcp-ops-agent: [New port] Gather logs from GCE instances
ClosedPublic

Authored by jrm on May 2 2022, 2:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 24, 8:35 AM
Unknown Object (File)
Nov 17 2024, 9:26 PM
Unknown Object (File)
Nov 17 2024, 8:45 PM
Unknown Object (File)
Nov 17 2024, 8:17 PM
Unknown Object (File)
Nov 17 2024, 6:27 PM
Unknown Object (File)
Nov 2 2024, 6:23 PM
Unknown Object (File)
Oct 17 2024, 9:44 PM
Unknown Object (File)
Oct 10 2024, 8:58 PM

Details

Summary

The Ops Agent is the primary agent for collecting telemetry from your
Compute Engine instances. Combining logging and metrics into a single
agent, the Ops Agent uses Fluent Bit for logs, which supports
high-throughput logging, and the OpenTelemetry Collector for metrics.
You can configure the Ops Agent to support parsing of log files from
third-party applications.

WWW: https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent

Test Plan

Poudriere testport looks good. It still needs run-testing

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jrm requested review of this revision.May 2 2022, 2:27 PM

Removed conf/ directory reported by lwhsu. This was not intended to be included.

I contacted Google to see about getting credits for testing, but they said that they will require a credit card. Rouslan, would it be easier for you to test if I send you a binary? If so, what version/arch of FreeBSD are you running?

In D35107#798671, @jrm wrote:

I contacted Google to see about getting credits for testing, but they said that they will require a credit card. Rouslan, would it be easier for you to test if I send you a binary? If so, what version/arch of FreeBSD are you running?

Yes, I have capability to test it on my GCP account. Send me the binary, I’m running FreeBSD 13.0 from GCP marketplace.
I’ll provide ssh access to you also.

Yes, I have capability to test it on my GCP account. Send me the binary, I’m running FreeBSD 13.0 from GCP marketplace.

Thanks. Here is a binary. https://ftfl.ca/misc/google_cloud_ops_agent_engine

Update diff to latest version, 2.18.1

This revision was not accepted when it landed; it landed in state Needs Review.Jul 4 2022, 5:22 PM
This revision was automatically updated to reflect the committed changes.

Hi All

I have managed to get the gap-aops-agent package installed but where do i set the credentials for auth to GCP ?

Also where can I look at the logs ?

Thanks,
Grant

In D35107#798673, @jrm wrote:

Yes, I have capability to test it on my GCP account. Send me the binary, I’m running FreeBSD 13.0 from GCP marketplace.

Thanks. Here is a binary. https://ftfl.ca/misc/google_cloud_ops_agent_engine

Hi,
Sorry for loooooong delay. I've installed 13.1-RELEASE in GCP, please provide your ssh public key and I'll grant access to you.
Best regards,
Rouslan

In D35107#798671, @jrm wrote:

I contacted Google to see about getting credits for testing, but they said that they will require a credit card. Rouslan, would it be easier for you to test if I send you a binary? If so, what version/arch of FreeBSD are you running?

Yes, I have capability to test it on my GCP account. Send me the binary, I’m running FreeBSD 13.0 from GCP

Hi All

I have managed to get the gap-aops-agent package installed but where do i set the credentials for auth to GCP ?

Also where can I look at the logs ?

Thanks,
Grant

Sorry. Missed this in deluge of emails. I'll try to get back to you at some point when I can test things out.

In D35107#798673, @jrm wrote:

Yes, I have capability to test it on my GCP account. Send me the binary, I’m running FreeBSD 13.0 from GCP marketplace.

Thanks. Here is a binary. https://ftfl.ca/misc/google_cloud_ops_agent_engine

Hi,
Sorry for loooooong delay. I've installed 13.1-RELEASE in GCP, please provide your ssh public key and I'll grant access to you.
Best regards,
Rouslan

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDGS/CDw25F9gjrgfDl9ZYnrrFwHPegAERk0sWI9UMrw3AjLzpB4yRSvY9KPzz81kJlk0pO+xsoiNsAmXx5nZ9DxK7NfVIrE7U4f4GEhGHltszmkWskBbfuPwC5i7jNc2tib7dWIbRJUrqOzROfllNYOKVbgvWCRJU6Zxb2DEQLdIy6xaZpmCUMhaxoPmeWbQmYTJLstj/QpJqtAS3EnqQXbcWaf4NaPI0moYGCBbs26CGGgp8rHfLa8BwIDYSP0s9fbdKLkFWVunwGP16n2JQBA6aURhNOEfFTbvzr82t9/p4MRs3YxSBCVKUjssfh2qzQd4lP3nsfJpfijKtnFUwP jrm@ftfl.ca

In D35107#853083, @jrm wrote:
In D35107#798673, @jrm wrote:

Yes, I have capability to test it on my GCP account. Send me the binary, I’m running FreeBSD 13.0 from GCP marketplace.

Thanks. Here is a binary. https://ftfl.ca/misc/google_cloud_ops_agent_engine

Hi,
Sorry for loooooong delay. I've installed 13.1-RELEASE in GCP, please provide your ssh public key and I'll grant access to you.
Best regards,
Rouslan

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDGS/CDw25F9gjrgfDl9ZYnrrFwHPegAERk0sWI9UMrw3AjLzpB4yRSvY9KPzz81kJlk0pO+xsoiNsAmXx5nZ9DxK7NfVIrE7U4f4GEhGHltszmkWskBbfuPwC5i7jNc2tib7dWIbRJUrqOzROfllNYOKVbgvWCRJU6Zxb2DEQLdIy6xaZpmCUMhaxoPmeWbQmYTJLstj/QpJqtAS3EnqQXbcWaf4NaPI0moYGCBbs26CGGgp8rHfLa8BwIDYSP0s9fbdKLkFWVunwGP16n2JQBA6aURhNOEfFTbvzr82t9/p4MRs3YxSBCVKUjssfh2qzQd4lP3nsfJpfijKtnFUwP jrm@ftfl.ca

Sent access detailsi in private email.