Stackdriver / collectd

Stackdriver's monitoring agent based on collectd (http://collectd.org).
https://cloud.google.com/monitoring/agent/
Other
51 stars 15 forks source link

GCP metadata logging cleanup #106

Closed dhrupadb closed 7 years ago

dhrupadb commented 7 years ago

Make logs more informative when running on AWS. As GCP gets checked first, customers may interpret the message from the metadata server as an error.

igorpeshansky commented 7 years ago

Can we build a test package to validate this change?

dhrupadb commented 7 years ago

Built a package and validated it on an ec2 instance. One question - there's still a "Unsuccessful HTTP request" logged by wg_curl_get_or_post . To make it clear to the user that the error was benign

OR

Thoughts?

igorpeshansky commented 7 years ago

I'd vote for the latter. @qingling128 and @bmoyles0117, opinions?

qingling128 commented 7 years ago

The latter sounds good to me. As to the name ignore_failure, how about expect_failure?

dhrupadb commented 7 years ago

PTAL. Confirmed that change is WAI.

googlebot commented 5 years ago

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here (e.g. I signed it!) and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

igorpeshansky commented 5 years ago

dhrupadb was at Google at the time.