Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 63AC8200CAE for ; Wed, 7 Jun 2017 00:44:27 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6234A160BD4; Tue, 6 Jun 2017 22:44:27 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A84DC160BC6 for ; Wed, 7 Jun 2017 00:44:26 +0200 (CEST) Received: (qmail 71810 invoked by uid 500); 6 Jun 2017 22:44:25 -0000 Mailing-List: contact dev-help@airflow.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airflow.incubator.apache.org Delivered-To: mailing list dev@airflow.incubator.apache.org Received: (qmail 71796 invoked by uid 99); 6 Jun 2017 22:44:25 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jun 2017 22:44:25 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 20622CFF9E for ; Tue, 6 Jun 2017 22:44:25 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.87 X-Spam-Level: * X-Spam-Status: No, score=1.87 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=google.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id sKPDyrr8o8Tr for ; Tue, 6 Jun 2017 22:44:23 +0000 (UTC) Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id B8EAD5FBE2 for ; Tue, 6 Jun 2017 22:44:21 +0000 (UTC) Received: by mail-wm0-f47.google.com with SMTP id 7so107078886wmo.1 for ; Tue, 06 Jun 2017 15:44:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=iZPbLKv9mkMUM6N73yxXpjEMFRwGeoIgoZEFo1SOHE8=; b=KHk9MB0yYfEBH22XAvtHLX6urR9tlPAq3dKmDuirpnR5gldE8wC3j8JraGMRM6gqpb AeOIZVzAjpKXsbh8Ob9VtpYiV3amKZkkVn/c33erqlgV5Gj9pXrPc+706iVks93ikQWG mUHGkZHdj8Jgxy6r0wzqbeZgk/imC4r3c1BXwVI3cBZ1D2l2AgLs9jUGG+mROfIGaATs TuOP8jAUeocWDwXSEQUchtMa52H4szgLj2n6YhhWigcYWLUKvOfDLc4bBN39YhooSloH PWag/RoTZ9m/baDwSgoNP8rbdyj4Bnwkq+BPmNdFuXgjos5EgMoCF71xcgtzt/voJ6sv udpg== X-Gm-Message-State: AODbwcAlImHoVJcZVNliYsmMh75E/CZ69pGbfHDDe6Tge2sm6EFSmYlR xN/WXYa3wo8TJ6vcOQTcz1txzGq1bZyFAt9JjA== X-Received: by 10.28.145.12 with SMTP id t12mr12750234wmd.46.1496789061096; Tue, 06 Jun 2017 15:44:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.173.5 with HTTP; Tue, 6 Jun 2017 15:44:20 -0700 (PDT) From: Feng Lu Date: Tue, 6 Jun 2017 15:44:20 -0700 Message-ID: Subject: Adding airflow top-level label(s) To: dev@airflow.incubator.apache.org Content-Type: multipart/alternative; boundary="001a114713744ada6a0551525c6e" archived-at: Tue, 06 Jun 2017 22:44:27 -0000 --001a114713744ada6a0551525c6e Content-Type: text/plain; charset="UTF-8" Hi, Resource label/tag has gained increasing popularity, for example, both GCP and AWS allow labels/tags to be attached to the cloud resources they offered. I am wondering whether the airflow community is interested in adding some default top-level airflow labels for all cloud resources that support labeling, spawned from airflow. In other words, all operators creating/using these resources will include the airflow labels (e.g., "airflow-version" : "1.8.1"). The benefits are twofold: - enable measuring the impact of apache airflow quantitatively at different places. - allow users to better organize airflow triggered cloud resources. These top-level labels will then be merged with user-provided labels specified in the various operators (e.g. https://github.com/apache/incubator-airflow/blob/master/airflow/contrib/operators/dataproc_operator.py#L55 ). Thanks. Feng --001a114713744ada6a0551525c6e--