$npx skillfedfor your agent

google-cloud-profiler

Google Cloud Profiler Python Agent

With conditionsPyPI MonitoringReleased Aug 2023419.2K downloads / moApache License, Version 2.0Source build

Decision gist · record as of 2026-08-14

sdist only — google-cloud-profiler-4.1.0.tar.gz · builds from source
v4.1.0 · released 2023-08-16

Yes, if you run Python applications on Google Cloud Platform and need production profiling. The active maintenance, permissive license, and zero known vulnerabilities support adoption. However, the high install friction (native compilation, Linux-only, Alpine special handling) and Python version ceiling (3.11 max) mean it's not suitable for all environments. Verify your deployment platform and Python version before committing.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Linux only (glibc or musl).
  • Requires Python >= 3.7 and <= 3.11.
  • Native compilation needed at install time; Alpine Linux requires build-base package.

License · maintenance · safety

Apache License, Version 2.0 (permissive) — Licensed under Apache License, Version 2.0 (permissive). You may use, modify, and distribute this package freely in commercial and private projects, provided you include a copy of the license and note any changes made.

last release 2023-08-16 (1094 days) · last repo commit 2026-04-08 · 32 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 419,232 downloads/mo, #6,801 on PyPI

Verify before relying

pip install google-cloud-profiler

import googlecloudprofiler

googlecloudprofiler.start(
    service='my-service',
    service_version='1.0.0',
    verbose=2
)
  • Whether the package works on Python 3.12 or later despite classifier support ending at 3.11
  • Current performance overhead of the daemon thread during continuous profiling
  • Compatibility with non-GCP environments beyond the project_id workaround
Same gist for agents: .md · .json

What it is and what it does

Google Cloud Profiler Python Agent is a daemon-based profiler that continuously collects CPU, memory, and wall-time profiles from running Python applications and uploads them to Google Cloud Profiler for centralized analysis. It integrates directly into your application startup with a single initialization call and runs as a background thread, requiring minimal code changes.

The package is designed for production workloads on Google Cloud Platform but can work in other environments by specifying a project_id. It has a native compiled component, making installation platform-dependent: Linux systems with glibc or musl are supported, and Alpine Linux requires additional build tools. The profiler supports Python versions from 3.7 through 3.11 and is actively maintained by Google Cloud Platform.

Use it for

  • Identify CPU hotspots and memory leaks in production Python services running on GCP without manual profiling.
  • Continuously monitor application performance across multiple instances and correlate profiles with service versions.
  • Debug performance regressions by comparing profiles across different service versions over time.
  • Analyze resource consumption in containerized Python applications deployed on Google Cloud Run or GKE.
  • Troubleshoot latency issues in long-running batch jobs or background workers on Compute Engine.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you run Python applications on Google Cloud Platform and need production profiling.

The active maintenance, permissive license, and zero known vulnerabilities support adoption. However, the high install friction (native compilation, Linux-only, Alpine special handling) and Python version ceiling (3.11 max) mean it's not suitable for all environments. Verify your deployment platform and Python version before committing.

Install

google-cloud-profiler on PyPI

Before you install

High install friction due to native compilation requirements. The package includes compiled components and requires build tools on Linux systems; Alpine Linux users must explicitly install build-base. Maintenance is active with recent commits, though the latest release was over a year ago.

Linux only (glibc or musl). Requires Python >= 3.7 and <= 3.11. Native compilation needed at install time; Alpine Linux requires build-base package. GCP credentials or project_id parameter required for operation.

License in practice

Licensed under Apache License, Version 2.0 (permissive). You may use, modify, and distribute this package freely in commercial and private projects, provided you include a copy of the license and note any changes made.

Quickstart

pip install google-cloud-profiler

import googlecloudprofiler

googlecloudprofiler.start(
    service='my-service',
    service_version='1.0.0',
    verbose=2
)

Verify before relying

  • Whether the package works on Python 3.12 or later despite classifier support ending at 3.11
  • Current performance overhead of the daemon thread during continuous profiling
  • Compatibility with non-GCP environments beyond the project_id workaround

Package facts

LicenseApache License, Version 2.0 permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceActively maintained 1,094 days since the last release
Last repo commit
First released
Downloads419,232 / month, #6,801 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: google-cloud-profiler-4.1.0.tar.gz

Tags

Capabilities
python profiling agent gcpgoogle cloud profiler pythoncpu memory profiling cloudapplication performance profilingcontinuous profiling pythoncloud profiler integrationpython performance monitoring gcp
Topics
gcp-nativeperformance-profilingproduction-monitoring
PyPI keywords
googlecloudprofiler

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “python profiling agent gcp”

Give your agent the search over MCP, or paste the wish link into any chat.

More Monitoring packages

tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
opentelemetry-semantic-conventions Worth it
PyPI · Monitoring · released Jul 2026

Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.

Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.

Apache-2.0pure Python · 3.10+
542.9Mdownloads / mo
opentelemetry-sdk Worth it
PyPI · Monitoring · released Jul 2026

Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.

Apache-2.0pure Python · 3.10+
521.8Mdownloads / mo
opentelemetry-api With conditions
PyPI · Monitoring · released Jul 2026

Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.

Apache-2.0pure Python · 3.10+
463.8Mdownloads / mo
opentelemetry-exporter-otlp-proto-http Worth it
PyPI · Monitoring · released Jul 2026

Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.

Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.

Apache-2.0pure Python · 3.10+
409.9Mdownloads / mo
opentelemetry-instrumentation Worth it
PyPI · Monitoring · released Jul 2026

Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.

Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.

Apache-2.0pure Python · 3.10+
393.5Mdownloads / mo

See also codeguru-profiler-agent · google-python-cloud-debugger · cloud-tpu-diagnostics · pyroscope-io · scalene · google-cloud-mldiagnostics · py-spy · aws-cdk.aws-codeguruprofiler · ppk2-api · line-profiler