Skip to content

Google Stackdriver should be renamed to Google Operations #61009

Open

Description

@shahar1

Body

It's been already 5+ years that the Google provider uses the deprecated name "stackdriver", instead of "operations", for its entities (hooks, providers, etc.).
It's a good time to align the relevant entities to the new naming, and deprecate the old ones.
Please note that I didn't label this task as a "good first issue", as it needs to be carefully done, to avoid accidental breaking changes.

CC: @VladaZakharova @MaksYermak

Committer

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Activity

  1. added theissue type on Jan 24, 2026
  2. added
    provider:google
    kind:meta
    on Jan 24, 2026
  3. SeifEddineMezned commented on Jan 24, 2026

    @SeifEddineMezned

    @shahar1 can i work on this ?

  4. shahar1 commented on Jan 24, 2026

    @shahar1
    ContributorAuthor

    @shahar1 can i work on this ?

    Hey, thanks for your will to contribute!
    Specifically in this issue - I'd rather let someone who's more experienced, as errors here could potentially impact the entire provider.
    Nontheless - I'll appreciate some help with other issues labeled as good first issue (maybe try this one).

  5. SeifEddineMezned commented on Jan 24, 2026

    @SeifEddineMezned

    @shahar1 Thank you for your insight, I will work on the issue you suggested

  6. Jasminekaur2005 commented on Jan 25, 2026

    @Jasminekaur2005

    Hi! I opened a small PR that updates Stackdriver wording in docstrings to Cloud Monitoring naming (no functional changes).

  7. molcay commented on Feb 3, 2026

    @molcay
    Contributor

    Hi @shahar1,

    Thank you for opening this issue. It makes total sense to start introducing these changes to the provider. As you mentioned, we should approach this with caution to avoid breaking workflows.

    As a starting point, I’d like to highlight the deprecation policy for the Google provider.

    I’ve reviewed the current implementation and found that while no changes are required at the SDK level, we do need to perform several updates within the provider itself.

    I suggest the following implementation plan:

    • Audit Occurrences: Find every occurrence of stackdriver in class names (Operators, Hooks, Links, Log Handlers, etc.).
    • Service Mapping: Map these classes to their correct modern service: Cloud Logging, Cloud Monitoring, or Cloud Observability.
    • Module Organization: Create separate modules for different services if they don’t already exist (e.g., airflow.providers.google.cloud.operators.monitoring).
    • Class Refactoring:
      • Rename: Update the class names to use proper naming instead of Stackdriver(e.g., rename StackdriverListAlertPoliciesOperator to CloudMonitoringListAlertPoliciesOperator).
      • Relocate: Move the renamed class to the correct module.
      • Maintain Backward Compatibility: Create a stub in the original stackdriver module that inherits from the new class using the old name.
      • Deprecation: Apply the @deprecated decorator to the old class names (use the deprecated decorator from airflow.providers.google.common.deprecated module)
      • Example Implementation:
        from airflow.exceptions import AirflowProviderDeprecationWarning
        from airflow.providers.google.common.deprecated import deprecated
        from airflow.providers.google.cloud.operators.monitoring import CloudMonitoringListAlertPoliciesOperator
        
        @deprecated(
            planned_removal_date="September 30, 2026",
            use_instead="airflow.providers.google.cloud.operators.monitoring.CloudMonitoringListAlertPoliciesOperator",
            reason="Stackdriver operators are deprecated. They will be removed on September 30, 2026, "
                   "in favor of their Cloud Monitoring/Observability equivalents.",
            category=AirflowProviderDeprecationWarning,
        )
        class StackdriverListAlertPoliciesOperator(CloudMonitoringListAlertPoliciesOperator):
            pass
      • Update docstrings.
      • Add/update unit tests (including tests for the deprecation warnings).
      • Fix system tests.

    By following this approach, we ensure that current users encounter no disruptions beyond the deprecation warning. This gives everyone enough time to transition to the new classes.

    After the grace period (at least 6 months), we can:

    • Remove the deprecated classes.
    • Bump the major version.
    • Release the updated provider.

    I hope this is helpful for anyone looking to implement this change

  8. shahar1 commented on Feb 6, 2026

    @shahar1
    ContributorAuthor

    Hi @shahar1,

    Thank you for opening this issue. It makes total sense to start introducing these changes to the provider. As you mentioned, we should approach this with caution to avoid breaking workflows.

    As a starting point, I’d like to highlight the deprecation policy for the Google provider.

    I’ve reviewed the current implementation and found that while no changes are required at the SDK level, we do need to perform several updates within the provider itself.

    I suggest the following implementation plan:

    • Audit Occurrences: Find every occurrence of stackdriver in class names (Operators, Hooks, Links, Log Handlers, etc.).

    • Service Mapping: Map these classes to their correct modern service: Cloud Logging, Cloud Monitoring, or Cloud Observability.

    • Module Organization: Create separate modules for different services if they don’t already exist (e.g., airflow.providers.google.cloud.operators.monitoring).

    • Class Refactoring:

      • Rename: Update the class names to use proper naming instead of Stackdriver(e.g., rename StackdriverListAlertPoliciesOperator to CloudMonitoringListAlertPoliciesOperator).

      • Relocate: Move the renamed class to the correct module.

      • Maintain Backward Compatibility: Create a stub in the original stackdriver module that inherits from the new class using the old name.

      • Deprecation: Apply the @deprecated decorator to the old class names (use the deprecated class from airflow.providers.google.common.deprecated module)

      • Example Implementation:
        from airflow.exceptions import AirflowProviderDeprecationWarning
        from airflow.providers.google.common.deprecated import deprecated
        from airflow.providers.google.cloud.operators.monitoring import CloudMonitoringListAlertPoliciesOperator

        @deprecated(
        planned_removal_date="September 30, 2026",
        use_instead="airflow.providers.google.cloud.operators.monitoring.CloudMonitoringListAlertPoliciesOperator",
        reason="Stackdriver operators are deprecated. They will be removed on September 30, 2026, "
        "in favor of their Cloud Monitoring/Observability equivalents.",
        category=AirflowProviderDeprecationWarning,
        )
        class StackdriverListAlertPoliciesOperator(CloudMonitoringListAlertPoliciesOperator):
        pass

      • Update docstrings.

      • Add/update unit tests (including tests for the deprecation warnings).

      • Fix system tests.

    By following this approach, we ensure that current users encounter no disruptions beyond the deprecation warning. This gives everyone enough time to transition to the new classes.

    After the grace period (at least 6 months), we can:

    • Remove the deprecated classes.
    • Bump the major version.
    • Release the updated provider.

    I hope this is helpful for anyone looking to implement this change

    Thanks for the detailed comment, including the reference to the deprecation policy and related instructions!
    It will be very helpful for the process.
    I'll try to take care at least for auditing the occurences so we could proceed from there :)

  9. self-assigned this
    on Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind:metaprovider:google

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions