From 7422f4ee7e6e4526a15ffff9e0b20daa95f0e9fd Mon Sep 17 00:00:00 2001 From: Linh Lam <108019527+linhlam-kc@users.noreply.github.com> Date: Fri, 4 Aug 2023 14:45:34 -0700 Subject: [PATCH 1/3] Update billing-integration.md serviceName endpoint description --- docs/billing-integration.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/billing-integration.md b/docs/billing-integration.md index 988ef5ad..7239f373 100644 --- a/docs/billing-integration.md +++ b/docs/billing-integration.md @@ -155,9 +155,14 @@ data: - name: servicecontrol servicecontrol: identity: gcp - # The service name is unique to your application and will be - # provided during onboarding. - serviceName: my-application.mp-my-company.appspot.com + # The service name is unique to your application. You can find + # and use your product ID from the GCP Producer Portal.The following + # example uses the product ID as the serviceName. + # + # NOTE: If your published product is using the service name in this format + # "my-application.mp-my-company.appspot.com", you can continue + # to use the current serviceName + serviceName: my-application.endpoints.projectId.cloud.goog consumerId: $AGENT_CONSUMER_ID # From the reporting secret. # The sources section lists metric data sources run by the agent From 5b9604da37acf5f1e560a8656e892ecf3f940cda Mon Sep 17 00:00:00 2001 From: Linh Lam <108019527+linhlam-kc@users.noreply.github.com> Date: Fri, 4 Aug 2023 15:07:10 -0700 Subject: [PATCH 2/3] Update billing-integration.md - fix typos --- docs/billing-integration.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/billing-integration.md b/docs/billing-integration.md index 7239f373..121a3fcd 100644 --- a/docs/billing-integration.md +++ b/docs/billing-integration.md @@ -156,12 +156,12 @@ data: servicecontrol: identity: gcp # The service name is unique to your application. You can find - # and use your product ID from the GCP Producer Portal.The following + # and use your product ID from the GCP Producer Portal. The following # example uses the product ID as the serviceName. # - # NOTE: If your published product is using the service name in this format + # NOTE: If your published product is using the service name in this previous format # "my-application.mp-my-company.appspot.com", you can continue - # to use the current serviceName + # using the current serviceName. serviceName: my-application.endpoints.projectId.cloud.goog consumerId: $AGENT_CONSUMER_ID # From the reporting secret. From 4f9fc288009c18ff9ab1ab43424dc2fcee02d44a Mon Sep 17 00:00:00 2001 From: linhlam-kc Date: Mon, 7 Aug 2023 12:49:08 -0700 Subject: [PATCH 3/3] Update billing-integration.md - update service name description line #19 Signed-off-by: linhlam-kc --- docs/billing-integration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/billing-integration.md b/docs/billing-integration.md index 121a3fcd..9f397f03 100644 --- a/docs/billing-integration.md +++ b/docs/billing-integration.md @@ -16,7 +16,7 @@ Kubernetes apps that bill a Google Cloud customer's account must report usage to Usage reporting requires the following information: * Predefined usage metrics. These metrics (such as `requests` or `instance_time`) are defined when choosing a pricing model. Usage for these metrics must be reported from your deployed application. -* A service name. This name identifies your product and will look like `my-application.mp-my-company.appspot.com`. It will be provided by Google during onboarding. +* A service name. This name identifies your product and will look like `my-application.endpoints.projectId.cloud.goog`. It will be provided by Google as your product ID during onboarding. You can also find your product ID on the producer portal. (If your published product on GCP Marketplace is using the service name in this previous format `my-application.mp-my-company.appspot.com`, you can continue using the current serviceName) * A GCP service account key to use for reporting. This will be provided to your application at deployment time. * A consumer ID. This will be provided to your application at deployment time.