
Completed
Posted
Paid on delivery
I need a fast-turnaround Python script that connects to Google Cloud Platform’s Compute Engine and continuously gathers key performance metrics—CPU, memory, disk, and network—across multiple instances. The goal is to surface near-real-time insights that can be fed into dashboards or alerts so I can react quickly when workloads spike. The solution should authenticate through a service account, call the Cloud Monitoring API (formerly Stackdriver) or the Compute Engine API where relevant, and output data in a JSON structure that’s easy to forward to Pub/Sub or store in BigQuery later. Lightweight dependency on google-cloud-monitoring / google-api-python-client is fine; please keep the setup straightforward via requirements.txt. Deliverables • Clean, well-documented Python 3.x script (or module) that runs from the command line • README covering setup, service-account configuration, and example execution • Sample output file showing collected metrics for at least one instance • Brief note on how to extend the script to add custom metrics in the future Acceptance Criteria The script must authenticate successfully with a provided service account, list active Compute Engine instances in a given project, pull the latest five minutes of CPU, memory, disk read/write, and network in/out metrics, then print or write them to JSON without errors. A short screen recording or log snippet demonstrating this end-to-end flow will confirm completion.
Project ID: 40521502
21 proposals
Remote project
Active 7 days ago
Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

Hello! I see you need a fast, production-ready Python solution to collect GCP Compute Engine metrics in near real time, and I can build a clean, extensible script that fits your monitoring pipeline. I will create a Python 3.x script that authenticates using a service account and securely connects to Google Cloud Monitoring API to fetch Compute Engine metrics. I will implement instance discovery so it automatically lists active VMs in your project and collects CPU, memory, disk I/O, and network metrics for the last 5 minutes. I will structure the output in clean JSON format, ready for Pub/Sub streaming or BigQuery ingestion without extra transformation. I will keep dependencies minimal using google-cloud-monitoring and google-api-python-client, with a simple [login to view URL] and straightforward setup. I will include a CLI interface, logging, and error handling so it runs reliably in production or scheduled environments (cron, Cloud Run, etc.). I will provide a README with full setup instructions, service account configuration steps, and example execution. I will also include a sample JSON output file and a short note explaining how to extend the script for custom metrics or additional GCP services. The final solution will be lightweight, modular, and ready to plug directly into dashboards or alerting pipelines. Thank you very much.
$30 NZD in 1 day
0.3
0.3
21 freelancers are bidding on average $35 NZD for this job

I am very interested in applying for your job since it seems to fit very will with my experience and skills. Regards SamirBanna
$50 NZD in 1 day
5.7
5.7

As a seasoned Full-Stack Developer with over a decade in the field, I've navigated and conquered numerous complex projects, making your Python GCP Compute Monitoring request well within my abilities. My expertise spans a wide range of crucial areas, including Web, Mobile Apps & AI Solutions, all of which align with your needs for this project. Having worked extensively with Google Cloud Platform's Compute Engine and employed Python 3.x for various tasks throughout my career, I'm extremely comfortable handling both key components of this task. Furthermore, I am well-versed in leveraging APIs for data collection and storage purposes—as needed in this project—using technologies such as Pub/Sub and BigQuery; meaning I can generate the clean JSON structure you require swiftly.
$22 NZD in 7 days
5.8
5.8

I understand that you're looking for a reliable solution to monitor key performance metrics from Google Cloud Platform's Compute Engine. Your need for real-time insights to manage workloads effectively is essential, especially as cloud environments become increasingly dynamic. With over 12 years of experience in full-stack development and cloud automation, I have successfully implemented similar monitoring solutions using Python and integrated them with Google Cloud APIs. My expertise with libraries like `google-cloud-monitoring` and `google-api-python-client` will ensure that your script is efficient and easy to extend in the future. I will deliver a well-documented Python script that authenticates via a service account, collects the required metrics, and outputs them in JSON format for seamless integration with Pub/Sub or BigQuery. Additionally, I'll provide comprehensive setup instructions to simplify the deployment process. To enhance our collaboration, could you clarify if there are specific instances you'd like to monitor first? Looking forward to your response!
$30 NZD in 7 days
4.3
4.3

Pulling clean, reliable metrics from GCP's Cloud Monitoring API sounds simple until you hit the details that actually matter — memory and disk metrics require the Ops Agent to be running on each instance since they aren't available from the hypervisor layer alone, and getting the time-series alignment right across CPU, memory, disk, and network so they represent the same five-minute window takes some care in how the query filters are constructed. I'll build this as a clean Python 3 module authenticating via service account, using google-cloud-monitoring to query the relevant metric types and google-api-python-client to list active Compute Engine instances in the target project. The output will be structured JSON with consistent timestamps across all four metric categories, designed so it drops directly into a Pub/Sub publish call or a BigQuery insert without restructuring later. The script will be documented clearly enough that extending it with custom metrics is a matter of adding a new metric type string and a parsing function, not refactoring the core logic. Deliverables will include the script itself, a README covering service account setup and example execution, a sample output file from a real instance, and a short log snippet or recording showing the end-to-end flow working cleanly. I'll flag upfront if your instances don't yet have the Ops Agent installed, since that affects whether memory and disk metrics are available at all. Let's get started.
$22 NZD in 2 days
1.9
1.9

Hi, Drop me a message — I'll share a quick prototype based on what I understood. If it matches your expectations, we can move forward. Thanks!
$22 NZD in 7 days
1.1
1.1

The script will authenticate using a service account and utilize the Cloud Monitoring API for data collection. It will be ready in 2 days. Do you have the service account key ready for authentication?
$50 NZD in 7 days
0.0
0.0

Hello — this aligns closely with systems I’ve built around real-time data collection and API-driven pipelines. I previously worked on a Hacker News analysis system where I continuously pulled structured data, normalized it, and exposed it in a clean format for downstream use. The key challenge wasn’t just fetching data, but ensuring consistency, handling time windows correctly, and avoiding noisy or misleading outputs — which is very similar to GCP monitoring. For your case, I’d use the Cloud Monitoring API with a service account, structure queries around fixed intervals, and apply proper aggregation (mean/alignment) so the 5-minute window reflects stable metrics instead of spikes. I’d also separate instance discovery, metric collection, and formatting into modular layers for easier extension. One suggestion: include a lightweight caching or rate-control layer to avoid hitting API limits when scaling across multiple instances. Also, normalizing units (especially network/disk metrics) early helps keep outputs consistent for BigQuery or Pub/Sub later. The final script will be clean, well-documented, and designed for easy extension if you add custom metrics later. If helpful, I can quickly run a sample flow and share the JSON structure before finalizing. Best regards Michael.
$22 NZD in 7 days
0.0
0.0

Senior Full Stack Developer here with 10+ years experience — Python and GCP are core parts of my stack, and I've built monitoring and automation scripts on Google Cloud infrastructure before, including pulling metrics from Cloud Monitoring API and piping structured data into downstream systems. Your requirement for JSON output that's easy to forward to Pub/Sub or BigQuery tells me you're thinking ahead about pipeline integration, not just a one-off script. That's exactly how I'd approach it — build the collection layer clean enough that plugging it into a streaming pipeline or a scheduled Cloud Function later takes minutes, not a rewrite. I've set up similar flows on GCP using service account auth, google-cloud-monitoring, and Compute Engine API calls, so the authentication and API wiring is straightforward territory for me. Here's what you get working with me: First, I use AI tooling heavily in my development workflow — Claude Code, custom agents, AI-assisted debugging and code review. For a script like this, that means faster iteration on edge cases (instances with no recent metrics, API pagination, quota handling) without cutting corners on documentation or error handling. You get a polished deliverable in less calendar time. Second, I handle the full lifecycle. If you later want this running on a schedule inside Cloud Functions, containerized, or feeding alerts through Pub/Sub, I can extend it without handing off to someone else. Lower risk for you — one developer who understands both the script and the infrastructure it runs on. The deliverables you listed (CLI script, README with service-account setup, sample output, extensibility notes for custom metrics) are well-scoped and I can have a working version ready quickly. I'll include a short screen recording of the end-to-end flow as you described in your acceptance criteria so you can verify it works against your own project before we close out. Happy to jump on a quick 15-minute call to confirm the details — which GCP project, how many instances you're monitoring, and whether you want the output written to file or stdout. Or if you'd rather skip the call and just share the service account JSON, I can start today.
$130 NZD in 7 days
0.0
0.0

Namakkal, India
Member since Apr 16, 2023
$14-30 NZD
$10-30 USD
$250-750 USD
$25-50 USD / hour
₹250000-500000 INR
₹600-1500 INR
₹12500-37500 INR
₹1500-12500 INR
₹12500-37500 INR
$750-1500 USD
₹600-1500 INR
₹12500-37500 INR
₹10000-100000 INR
₹12500-37500 INR
$30-250 USD
$100-150 USD
₹600-1500 INR
$8-15 USD / hour
₹12500-37500 INR
$1500-3000 USD
$10-1350 USD
₹5000-10000 INR
₹12500-37500 INR