Coder Social home page Coder Social logo

java-monitoring-dashboards's Introduction

Google Monitoring Dashboards Client for Java

Java idiomatic client for Monitoring Dashboards.

Maven Stability

๐ŸšŒ In October 2022, this library has moved to google-cloud-java/java-monitoring-dashboards. This repository will be archived in the future. Future releases will appear in the new repository (https://github.com/googleapis/google-cloud-java/releases). The Maven artifact coordinates (com.google.cloud:google-cloud-monitoring-dashboard) remain the same.

Quickstart

If you are using Maven, add this to your pom.xml file:

<dependency>
  <groupId>com.google.cloud</groupId>
  <artifactId>google-cloud-monitoring-dashboard</artifactId>
  <version>2.8.0</version>
</dependency>

If you are using Gradle without BOM, add this to your dependencies:

implementation 'com.google.cloud:google-cloud-monitoring-dashboard:2.8.0'

If you are using SBT, add this to your dependencies:

libraryDependencies += "com.google.cloud" % "google-cloud-monitoring-dashboard" % "2.8.0"

Authentication

See the Authentication section in the base directory's README.

Authorization

The client application making API calls must be granted authorization scopes required for the desired Monitoring Dashboards APIs, and the authenticated principal must have the IAM role(s) required to access GCP resources using the Monitoring Dashboards API calls.

Getting Started

Prerequisites

You will need a Google Cloud Platform Console project with the Monitoring Dashboards API enabled. You will need to enable billing to use Google Monitoring Dashboards. Follow these instructions to get your project set up. You will also need to set up the local development environment by installing the Google Cloud SDK and running the following commands in command line: gcloud auth login and gcloud config set project [YOUR PROJECT ID].

Installation and setup

You'll need to obtain the google-cloud-monitoring-dashboard library. See the Quickstart section to add google-cloud-monitoring-dashboard as a dependency in your code.

About Monitoring Dashboards

Monitoring Dashboards are one way for you to view and analyze metric data. The Cloud Console provides predefined dashboards that require no setup or configuration. You can also define custom dashboards. With custom dashboards, you have complete control over the charts that are displayed and their configuration.

See the Monitoring Dashboards client library docs to learn how to use this Monitoring Dashboards Client Library.

Troubleshooting

To get help, follow the instructions in the shared Troubleshooting document.

Transport

Monitoring Dashboards uses gRPC for the transport layer.

Supported Java Versions

Java 8 or above is required for using this client.

Google's Java client libraries, Google Cloud Client Libraries and Google Cloud API Libraries, follow the Oracle Java SE support roadmap (see the Oracle Java SE Product Releases section).

For new development

In general, new feature development occurs with support for the lowest Java LTS version covered by Oracle's Premier Support (which typically lasts 5 years from initial General Availability). If the minimum required JVM for a given library is changed, it is accompanied by a semver major release.

Java 11 and (in September 2021) Java 17 are the best choices for new development.

Keeping production systems current

Google tests its client libraries with all current LTS versions covered by Oracle's Extended Support (which typically lasts 8 years from initial General Availability).

Legacy support

Google's client libraries support legacy versions of Java runtimes with long term stable libraries that don't receive feature updates on a best efforts basis as it may not be possible to backport all patches.

Google provides updates on a best efforts basis to apps that continue to use Java 7, though apps might need to upgrade to current versions of the library that supports their JVM.

Where to find specific information

The latest versions and the supported Java versions are identified on the individual GitHub repository github.com/GoogleAPIs/java-SERVICENAME and on google-cloud-java.

Versioning

This library follows Semantic Versioning.

Contributing

Contributions to this library are always welcome and highly encouraged.

See CONTRIBUTING for more information how to get started.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See Code of Conduct for more information.

License

Apache 2.0 - See LICENSE for more information.

CI Status

Java Version Status
Java 8 Kokoro CI
Java 8 OSX Kokoro CI
Java 8 Windows Kokoro CI
Java 11 Kokoro CI

Java is a registered trademark of Oracle and/or its affiliates.

java-monitoring-dashboards's People

Contributors

chingor13 avatar ddixit14 avatar dwsupplee avatar eaball35 avatar gcf-owl-bot[bot] avatar google-cloud-policy-bot[bot] avatar justinbeckwith avatar mpeddada1 avatar neenu1995 avatar release-please[bot] avatar renovate-bot avatar surferjeffatgoogle avatar suztomo avatar yangnuoyu avatar yoshi-automation avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

java-monitoring-dashboards's Issues

Dependency Dashboard

This issue contains a list of Renovate updates and their statuses.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

  • chore(deps): update dependency com.google.cloud:google-cloud-monitoring-dashboard to v0.2.1
  • chore(deps): update dependency com.google.cloud:google-cloud-monitoring-dashboard to v1
  • chore(deps): update dependency com.google.cloud:libraries-bom to v10
  • Check this option to rebase all the above open PRs at once

  • Check this box to trigger a request for Renovate to run again on this repository

Dependency Dashboard

This issue contains a list of Renovate updates and their statuses.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.


  • Check this box to trigger a request for Renovate to run again on this repository

Dependency Dashboard

This issue contains a list of Renovate updates and their statuses.

This repository currently has no open or pending branches.


  • Check this box to trigger a request for Renovate to run again on this repository

Synthesis failed for java-monitoring-dashboards

Hello! Autosynth couldn't regenerate java-monitoring-dashboards. ๐Ÿ’”

Here's the output from running synth.py:

Cloning into 'working_repo'...
Switched to branch 'autosynth'
Running synthtool
['/tmpfs/src/git/autosynth/env/bin/python3', '-m', 'synthtool', 'synth.py', '--']
synthtool > Executing /tmpfs/src/git/autosynth/working_repo/synth.py.
On branch autosynth
nothing to commit, working tree clean
HEAD detached at FETCH_HEAD
nothing to commit, working tree clean
synthtool > Ensuring dependencies.
synthtool > Cloning googleapis.
synthtool > Generating code for: google/monitoring/dashboard/v1.
synthtool > Generated code into /tmpfs/tmp/tmpmojf68vu.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/TimeSeriesFilterRatio.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/ScorecardOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/ColumnLayoutOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/CreateDashboardRequest.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/TimeSeriesQueryOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/PickTimeSeriesFilterOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/ListDashboardsRequestOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/ListDashboardsRequest.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/StatisticalTimeSeriesFilterOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/WidgetOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/WidgetProto.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/GetDashboardRequest.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/StatisticalTimeSeriesFilter.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/CommonProto.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/ScorecardProto.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/TimeSeriesFilterRatioOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/CreateDashboardRequestOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/DeleteDashboardRequestOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/XyChartProto.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/XyChart.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/SparkChartType.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/Dashboard.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/Text.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/Widget.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/RowLayout.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/LayoutsProto.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/DashboardOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/ThresholdOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/GridLayoutOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/TimeSeriesQuery.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/XyChartOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/TextOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/RowLayoutOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/ChartOptions.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/UpdateDashboardRequest.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/ServiceMonitoringProto.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/ListDashboardsResponse.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/GridLayout.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/Threshold.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/MetricsProto.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/DashboardsServiceProto.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/UpdateDashboardRequestOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/DashboardsProto.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/DeleteDashboardRequest.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/TimeSeriesFilter.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/TimeSeriesFilterOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/ColumnLayout.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/ChartOptionsOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/ListDashboardsResponseOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/Aggregation.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/PickTimeSeriesFilter.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/DrilldownsProto.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/Scorecard.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/GetDashboardRequestOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/AggregationOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/TextProto.java.
synthtool > No replacements made in [PosixPath('/tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/**/*Name.java'), PosixPath('/tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/**/*Names.java')] for pattern /\*
 \* Copyright \d{4} Google LLC
 \*
 \* Licensed under the Apache License, Version 2.0 \(the "License"\); you may not use this file except
 \* in compliance with the License. You may obtain a copy of the License at
 \*
 \* http://www.apache.org/licenses/LICENSE-2.0
 \*
 \* Unless required by applicable law or agreed to in writing, software distributed under the License
 \* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 \* or implied. See the License for the specific language governing permissions and limitations under
 \* the License.
 \*/
, maybe replacement is not longer needed?
synthtool > Replaced 'package com.google.monitoring.dashboard.v1;' in /tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/grpc-google-cloud-monitoring-dashboard-v1-java/src/main/java/com/google/monitoring/dashboard/v1/DashboardsServiceGrpc.java.
synthtool > No files in sources [PosixPath('/tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/gapic-google-cloud-monitoring-dashboard-v1-java/samples/src')] were copied. Does the source contain files?
synthtool > No files in sources [PosixPath('/tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/gapic-google-cloud-monitoring-dashboard-v1-java/samples/resources')] were copied. Does the source contain files?
synthtool > No files in sources [PosixPath('/tmpfs/tmp/tmpmojf68vu/google-cloud-monitoring-dashboard-v1-java/gapic-google-cloud-monitoring-dashboard-v1-java/samples/src/**/*.manifest.yaml')] were copied. Does the source contain files?
synthtool > Running java formatter on 10 files
synthtool > Running java formatter on 1 files
synthtool > Running java formatter on 56 files
synthtool > Running java formatter on 0 files
synthtool > Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.1/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.1/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed
  File "/tmpfs/src/git/autosynth/working_repo/synth.py", line 37, in <module>
    templates = common_templates.java_library()
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/synthtool/gcp/common.py", line 75, in java_library
    return self._generic_library("java_library", **kwargs)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/synthtool/gcp/common.py", line 43, in _generic_library
    if not kwargs["metadata"]["samples"]:
KeyError: 'samples'

Synthesis failed

Google internal developers can see the full log here.

Dependency Dashboard

This issue contains a list of Renovate updates and their statuses.

This repository currently has no open or pending branches.


  • Check this box to trigger a request for Renovate to run again on this repository

Your .repo-metadata.json file has a problem ๐Ÿค’

You have a problem with your .repo-metadata.json file:

Result of scan ๐Ÿ“ˆ:

  • api_shortname 'monitoring-dashboards' invalid in .repo-metadata.json

โ˜๏ธ Once you address these problems, you can close this issue.

Need help?

  • Schema definition: lists valid options for each field.
  • API index: for gRPC libraries api_shortname should match the subdomain of an API's hostName.
  • Reach out to go/github-automation if you have any questions.

Dependency Dashboard

This issue contains a list of Renovate updates and their statuses.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.


  • Check this box to trigger a request for Renovate to run again on this repository

Dependency Dashboard

This issue contains a list of Renovate updates and their statuses.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.


  • Check this box to trigger a request for Renovate to run again on this repository

Your .repo-metadata.json file has a problem ๐Ÿค’

You have a problem with your .repo-metadata.json file:

Result of scan ๐Ÿ“ˆ:

  • api_shortname 'monitoring-dashboards' invalid in .repo-metadata.json

โ˜๏ธ Once you address these problems, you can close this issue.

Need help?

  • Schema definition: lists valid options for each field.
  • API index: for gRPC libraries api_shortname should match the subdomain of an API's hostName.
  • Reach out to go/github-automation if you have any questions.

Promote to GA

Package name: google-cloud-monitoring-dashboard
Current release: beta
Proposed release: GA

Instructions

Check the lists below, adding tests / documentation as required. Once all the "required" boxes are ticked, please create a release and close this issue.

Required

  • 28 days elapsed since last beta release with new API surface
  • Server API is GA
  • At least one integration/smoke test is defined and passing
  • Package API is stable, and we can commit to backward compatibility
  • All dependencies are GA

Optional

  • Most common / important scenarios have descriptive samples
  • Public manual methods have at least one usage sample each (excluding overloads)
  • Per-API README includes a full description of the API
  • Per-API README contains at least one โ€œgetting startedโ€ sample using the most common API scenario
  • Manual code has been reviewed by API producer
  • Manual code has been reviewed by a DPE responsible for samples
  • 'Client Libraries' page is added to the product documentation in 'APIs & Reference' section of the product's documentation on Cloud Site

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Edited/Blocked

These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.

Detected dependencies

github-actions
.github/workflows/approve-readme.yaml
  • actions/github-script v6
.github/workflows/auto-release.yaml
  • actions/github-script v6
.github/workflows/ci.yaml
  • actions/checkout v3
  • actions/setup-java v3
  • actions/checkout v3
  • actions/setup-java v3
  • actions/checkout v3
  • actions/setup-java v3
  • actions/checkout v3
  • actions/setup-java v3
  • actions/checkout v3
  • actions/setup-java v3
.github/workflows/samples.yaml
  • actions/checkout v3
  • actions/setup-java v3
maven
google-cloud-monitoring-dashboard-bom/pom.xml
  • com.google.cloud:google-cloud-shared-config 1.5.3
  • com.google.cloud:google-cloud-monitoring-dashboard 2.5.7-SNAPSHOT
  • com.google.api.grpc:grpc-google-cloud-monitoring-dashboard-v1 2.5.7-SNAPSHOT
  • com.google.api.grpc:proto-google-cloud-monitoring-dashboard-v1 2.5.7-SNAPSHOT
google-cloud-monitoring-dashboard/pom.xml
  • com.google.cloud:google-cloud-monitoring-dashboard-parent 2.5.7-SNAPSHOT
grpc-google-cloud-monitoring-dashboard-v1/pom.xml
  • com.google.cloud:google-cloud-monitoring-dashboard-parent 2.5.7-SNAPSHOT
pom.xml
  • com.google.cloud:google-cloud-shared-config 1.5.3
  • com.google.api.grpc:proto-google-cloud-monitoring-dashboard-v1 2.5.7-SNAPSHOT
  • com.google.api.grpc:grpc-google-cloud-monitoring-dashboard-v1 2.5.7-SNAPSHOT
  • com.google.cloud:google-cloud-monitoring-dashboard 2.5.7-SNAPSHOT
  • com.google.cloud:google-cloud-shared-dependencies 3.0.4
  • junit:junit 4.13.2
  • org.apache.maven.plugins:maven-project-info-reports-plugin 3.4.1
  • org.apache.maven.plugins:maven-javadoc-plugin 3.4.1
proto-google-cloud-monitoring-dashboard-v1/pom.xml
  • com.google.cloud:google-cloud-monitoring-dashboard-parent 2.5.7-SNAPSHOT
samples/install-without-bom/pom.xml
  • com.google.cloud.samples:shared-configuration 1.2.0
  • com.google.cloud:google-cloud-monitoring-dashboard 2.5.6
  • junit:junit 4.13.2
  • com.google.truth:truth 1.1.3
  • org.codehaus.mojo:build-helper-maven-plugin 3.3.0
samples/pom.xml
  • com.google.cloud.samples:shared-configuration 1.2.0
  • org.apache.maven.plugins:maven-deploy-plugin 3.0.0
  • org.sonatype.plugins:nexus-staging-maven-plugin 1.6.13
samples/snapshot/pom.xml
  • com.google.cloud.samples:shared-configuration 1.2.0
  • com.google.cloud:google-cloud-monitoring-dashboard 2.5.6
  • junit:junit 4.13.2
  • com.google.truth:truth 1.1.3
  • org.codehaus.mojo:build-helper-maven-plugin 3.3.0
samples/snippets/pom.xml
  • com.google.cloud.samples:shared-configuration 1.2.0
  • com.google.cloud:libraries-bom 26.1.3
  • junit:junit 4.13.2
  • com.google.truth:truth 1.1.3

  • Check this box to trigger a request for Renovate to run again on this repository

Your .repo-metadata.json file has a problem ๐Ÿค’

You have a problem with your .repo-metadata.json file:

Result of scan ๐Ÿ“ˆ:

  • api_shortname 'monitoring-dashboards' invalid in .repo-metadata.json

โ˜๏ธ Once you address these problems, you can close this issue.

Need help?

  • Schema definition: lists valid options for each field.
  • API index: for gRPC libraries api_shortname should match the subdomain of an API's hostName.
  • Reach out to go/github-automation if you have any questions.

Update to support MosaicLayout

Is your feature request related to a problem? Please describe.
I am writing a tool to generate dashboards for some of our services, and would like the flexability of the mosaic layout.

Describe the solution you'd like
Update the protos to include the mosaic layout.

Describe alternatives you've considered
Using the gcloud cli (which presumably is the most up to date) via external process calls, not the greatest solution

Additional context
The mosaic layout is defined in the docs here: https://cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.dashboard.v1#google.monitoring.dashboard.v1.MosaicLayout

Synthesis failed for java-monitoring-dashboards

Hello! Autosynth couldn't regenerate java-monitoring-dashboards. ๐Ÿ’”

Here's the output from running synth.py:

Cloning into 'working_repo'...
Switched to a new branch 'autosynth'
Cloning into '/tmpfs/tmp/tmpkv19ec6f/googleapis'...
Cloning into '/tmpfs/tmp/tmpkv19ec6f/synthtool'...
Switched to branch 'autosynth-self'
Note: checking out 'b8bcf3377310a7622d04bebf2bf3dff710587192'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at b8bcf33 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#106)
Note: checking out 'b21bc9b46e3263cd4ebe50f60c61589e3fe797f2'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at b21bc9b4 chore: set Ruby namespace in proto options
Note: checking out 'f8a9933e5e98202b04ef427f28d1d79221190fa4'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at f8a9933 chore(java): allow overriding the versioning section of the Java README (#495)
Switched to a new branch 'autosynth-self-2'
2020-05-05 21:32:31 [INFO] Running synthtool
2020-05-05 21:32:31 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-05 21:32:31,265 synthtool > Executing /tmpfs/src/github/synthtool/working_repo/synth.py.
On branch autosynth-self-2
nothing to commit, working tree clean
2020-05-05 21:32:31,396 synthtool > Ensuring dependencies.
2020-05-05 21:32:31,407 synthtool > Cloning googleapis.
2020-05-05 21:32:31,408 synthtool > Using precloned repo /tmpfs/tmp/tmpkv19ec6f/googleapis
2020-05-05 21:32:31,412 synthtool > Generating code for: //google/monitoring/dashboard/v1:google-cloud-monitoring-dashboard-v1-java.
2020-05-05 21:32:31,524 synthtool > Failed executing bazel build //google/monitoring/dashboard/v1:google-cloud-monitoring-dashboard-v1-java:

Starting local Bazel server and connecting to it...
Server crashed during startup. Now printing /home/kbuilder/.cache/bazel/_bazel_kbuilder/65dc30e0e399cedff83987bc9c02e9e6/server/jvm.out
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000715200000, 247463936, 0) failed; error='Not enough space' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 247463936 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /tmpfs/tmp/tmpkv19ec6f/googleapis/hs_err_pid24585.log

2020-05-05 21:32:31,525 synthtool > Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/tmpfs/src/github/synthtool/working_repo/synth.py", line 35, in <module>
    bazel_target=f'//google/monitoring/dashboard/{version}:google-cloud-monitoring-dashboard-{version}-java',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 310, in bazel_library
    library = gapic.java_library(service=service, version=version, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 63, in java_library
    return self._generate_code(service, version, "java", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 177, in _generate_code
    shell.run(bazel_run_args)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', 'build', '//google/monitoring/dashboard/v1:google-cloud-monitoring-dashboard-v1-java']' returned non-zero exit status 37.
2020-05-05 21:32:31 [ERROR] Synthesis failed
HEAD is now at b8bcf33 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#106)
Switched to branch 'autosynth-self'
Note: checking out 'b8bcf3377310a7622d04bebf2bf3dff710587192'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at b8bcf33 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#106)
Previous HEAD position was b21bc9b4 chore: set Ruby namespace in proto options
HEAD is now at a3a0bf0f BREAKING_CHANGE: Removing TimeSeriesQueryLanguageCondition as an alert condition type. The condition type is unsupported and unused. It was originally added for the Monitoring Query Language Alpha feature. refactor!: Drop support for TimeSeriesQueryLanguageCondition as an alert condition type.
Previous HEAD position was f8a9933 chore(java): allow overriding the versioning section of the Java README (#495)
HEAD is now at ab88356 fix: make .kokoro-autosynth executable (#522)
Switched to a new branch 'autosynth-91'
2020-05-05 21:32:31 [INFO] Running synthtool
2020-05-05 21:32:31 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-05 21:32:31,843 synthtool > Executing /tmpfs/src/github/synthtool/working_repo/synth.py.
On branch autosynth-91
nothing to commit, working tree clean
2020-05-05 21:32:31,975 synthtool > Ensuring dependencies.
2020-05-05 21:32:31,987 synthtool > Cloning googleapis.
2020-05-05 21:32:31,988 synthtool > Using precloned repo /tmpfs/tmp/tmpkv19ec6f/googleapis
2020-05-05 21:32:31,992 synthtool > Generating code for: //google/monitoring/dashboard/v1:google-cloud-monitoring-dashboard-v1-java.
2020-05-05 21:32:32,102 synthtool > Failed executing bazel build //google/monitoring/dashboard/v1:google-cloud-monitoring-dashboard-v1-java:

Starting local Bazel server and connecting to it...
Server crashed during startup. Now printing /home/kbuilder/.cache/bazel/_bazel_kbuilder/65dc30e0e399cedff83987bc9c02e9e6/server/jvm.out
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000715200000, 247463936, 0) failed; error='Not enough space' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 247463936 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /tmpfs/tmp/tmpkv19ec6f/googleapis/hs_err_pid24620.log

2020-05-05 21:32:32,103 synthtool > Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/tmpfs/src/github/synthtool/working_repo/synth.py", line 35, in <module>
    bazel_target=f'//google/monitoring/dashboard/{version}:google-cloud-monitoring-dashboard-{version}-java',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 310, in bazel_library
    library = gapic.java_library(service=service, version=version, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 63, in java_library
    return self._generate_code(service, version, "java", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 177, in _generate_code
    shell.run(bazel_run_args)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', 'build', '//google/monitoring/dashboard/v1:google-cloud-monitoring-dashboard-v1-java']' returned non-zero exit status 37.
2020-05-05 21:32:32 [ERROR] Synthesis failed
HEAD is now at b8bcf33 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#106)
Switched to branch 'autosynth'
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 584, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 465, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 574, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 360, in synthesize_loop
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 370, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 115, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Synthesis failed for java-monitoring-dashboards

Hello! Autosynth couldn't regenerate java-monitoring-dashboards. ๐Ÿ’”

Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the java-monitoring-dashboards API, and the library grows
stale.

See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.

Here's the output from running synth.py:

use the correct assembly_pkg rule
2021-06-02 01:58:32,073 autosynth [DEBUG] > Running: git checkout c3e41da0fa256ad7f6b4bc76b9d069dedecdfef4
Note: switching to 'c3e41da0fa256ad7f6b4bc76b9d069dedecdfef4'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at c3e41da fix: make `generate_index_ts()` deterministic (#1104)
2021-06-02 01:58:32,166 autosynth [DEBUG] > Running: git branch -f autosynth-232
2021-06-02 01:58:32,170 autosynth [DEBUG] > Running: git checkout autosynth-232
Switched to branch 'autosynth-232'
2021-06-02 01:58:32,174 autosynth [INFO] > Running synthtool
2021-06-02 01:58:32,174 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2021-06-02 01:58:32,174 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/java-monitoring-dashboards/232/sponge_log.log
2021-06-02 01:58:32,178 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-06-02 01:58:32,398 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/java-monitoring-dashboards/synth.py.
On branch autosynth-232
nothing to commit, working tree clean
2021-06-02 01:58:32,558 synthtool [DEBUG] > Ensuring dependencies.
2021-06-02 01:58:32,567 synthtool [DEBUG] > Cloning googleapis.
2021-06-02 01:58:32,568 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2021-06-02 01:58:32,572 synthtool [DEBUG] > Which version of bazel will I run?
bazel 3.0.0
2021-06-02 01:58:32,575 synthtool [DEBUG] > Generating code for: //google/monitoring/dashboard/v1:google-cloud-monitoring-dashboard-v1-java.
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
Loading: 
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/rules_gapic/archive/v0.5.3.tar.gz) = 6b46d367bffcbdfb91d4d7d758281a5a64a27bb533f4cf9a1ce68cb138987f67
DEBUG: Rule 'rules_gapic' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "6b46d367bffcbdfb91d4d7d758281a5a64a27bb533f4cf9a1ce68cb138987f67"
DEBUG: Call stack for the definition of repository 'rules_gapic' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:133:1
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/grpc/grpc/archive/v1.36.4.zip) = 7ef46d882c8b418bd9472880519966126073af5eca1f8db89d53d3ebd0e1d591
DEBUG: Rule 'com_github_grpc_grpc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "7ef46d882c8b418bd9472880519966126073af5eca1f8db89d53d3ebd0e1d591"
DEBUG: Call stack for the definition of repository 'com_github_grpc_grpc' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:155:1
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: Call stack for the definition of repository 'envoy_api' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/com_github_grpc_grpc/bazel/grpc_deps.bzl:312:9
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:163:1
WARNING: Download from https://github.com/envoyproxy/data-plane-api/archive/9edfeb841b0f8e54816f0b81949f79104072072c.tar.gz failed: class java.io.IOException GET returned 500 Internal Server Error
ERROR: An error occurred during the fetch of repository 'envoy_api':
   java.io.IOException: Error downloading [https://github.com/envoyproxy/data-plane-api/archive/9edfeb841b0f8e54816f0b81949f79104072072c.tar.gz] to /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/envoy_api/9edfeb841b0f8e54816f0b81949f79104072072c.tar.gz: GET returned 500 Internal Server Error
ERROR: no such package '@envoy_api//bazel': java.io.IOException: Error downloading [https://github.com/envoyproxy/data-plane-api/archive/9edfeb841b0f8e54816f0b81949f79104072072c.tar.gz] to /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/envoy_api/9edfeb841b0f8e54816f0b81949f79104072072c.tar.gz: GET returned 500 Internal Server Error
INFO: Elapsed time: 137.529s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
FAILED: Build did NOT complete successfully (0 packages loaded)
2021-06-02 02:00:50,176 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/monitoring/dashboard/v1:google-cloud-monitoring-dashboard-v1-java:

None
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/java-monitoring-dashboards/synth.py", line 35, in <module>
    bazel_target=f'//google/monitoring/dashboard/{version}:google-cloud-monitoring-dashboard-{version}-java',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 340, in bazel_library
    service=service, version=version, diregapic=diregapic, **kwargs
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 70, in java_library
    service, version, "java", False, tar_strip_components=0, **kwargs
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/monitoring/dashboard/v1:google-cloud-monitoring-dashboard-v1-java']' returned non-zero exit status 1.
2021-06-02 02:00:50,236 autosynth [ERROR] > Synthesis failed
2021-06-02 02:00:50,236 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 2165f98 chore: release 1.3.1-SNAPSHOT (#386)
2021-06-02 02:00:50,242 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-06-02 02:00:50,246 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 356, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 68, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Synthesis failed for java-monitoring-dashboards

Hello! Autosynth couldn't regenerate java-monitoring-dashboards. ๐Ÿ’”

Here's the output from running synth.py:

Cloning into 'working_repo'...
Switched to branch 'autosynth'
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.1/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.1/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/git/autosynth/autosynth/synth.py", line 256, in <module>
    main()
  File "/tmpfs/src/git/autosynth/autosynth/synth.py", line 196, in main
    last_synth_commit_hash = get_last_metadata_commit(args.metadata_path)
  File "/tmpfs/src/git/autosynth/autosynth/synth.py", line 149, in get_last_metadata_commit
    text=True,
  File "/home/kbuilder/.pyenv/versions/3.6.1/lib/python3.6/subprocess.py", line 403, in run
    with Popen(*popenargs, **kwargs) as process:
TypeError: __init__() got an unexpected keyword argument 'text'

Google internal developers can see the full log here.

Synthesis failed for java-monitoring-dashboards

Hello! Autosynth couldn't regenerate java-monitoring-dashboards. ๐Ÿ’”

Here's the output from running synth.py:

dashboard-v1-java/src')] were copied. Does the source contain files?
2020-07-16 17:38:49,483 autosynth [ERROR] > Synthesis failed
2020-07-16 17:38:49,483 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at bab0afc chore(deps): update dependency com.google.cloud:libraries-bom to v8.1.0 (#154)
2020-07-16 17:38:49,491 autosynth [DEBUG] > Running: git checkout autosynth-googleapis
Switched to branch 'autosynth-googleapis'
2020-07-16 17:38:49,496 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-07-16 17:38:49,630 autosynth [DEBUG] > Running: git checkout bab0afc5e9533da1e0ce2ad819291c78a6505c74
Note: checking out 'bab0afc5e9533da1e0ce2ad819291c78a6505c74'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at bab0afc chore(deps): update dependency com.google.cloud:libraries-bom to v8.1.0 (#154)
2020-07-16 17:38:49,636 autosynth [DEBUG] > Running: git checkout 21f1470ecd01424dc91c70f1a7c798e4e87d1eec
Previous HEAD position was 4f2c9f7 ci(java): run dependency test on Java 8 and 11 (#639)
HEAD is now at 21f1470 chore: add config files for cloud-rad for node.js (#667)
2020-07-16 17:38:49,645 autosynth [DEBUG] > Running: git checkout b56aa06cc99050861c9a9b14d9569bd18eb09604
HEAD is now at b56aa06c feat: Adds AuditLog proto for reading IAM admin logs.
2020-07-16 17:38:49,664 autosynth [DEBUG] > Running: git branch -f autosynth-58
2020-07-16 17:38:49,668 autosynth [DEBUG] > Running: git checkout autosynth-58
Switched to branch 'autosynth-58'
2020-07-16 17:38:49,673 autosynth [INFO] > Running synthtool
2020-07-16 17:38:49,673 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-07-16 17:38:49,673 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/java-monitoring-dashboards/58/sponge_log.log
2020-07-16 17:38:49,675 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-07-16 17:38:49,880 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/java-monitoring-dashboards/synth.py.
On branch autosynth-58
nothing to commit, working tree clean
2020-07-16 17:38:50,017 synthtool [DEBUG] > Ensuring dependencies.
2020-07-16 17:38:50,029 synthtool [DEBUG] > Cloning googleapis.
2020-07-16 17:38:50,030 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-07-16 17:38:50,034 synthtool [DEBUG] > Generating code for: //google/monitoring/dashboard/v1:google-cloud-monitoring-dashboard-v1-java.
2020-07-16 17:38:51,771 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpbbzb0g5b.
2020-07-16 17:38:51,773 synthtool [WARNING] > No replacements made in [PosixPath('/tmpfs/tmp/tmpbbzb0g5b/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/**/*.java')] for pattern // Generated by the protocol buffer compiler.  DO NOT EDIT!, maybe replacement is no longer needed?
2020-07-16 17:38:51,776 synthtool [WARNING] > No replacements made in [PosixPath('/tmpfs/tmp/tmpbbzb0g5b/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/**/*Name.java'), PosixPath('/tmpfs/tmp/tmpbbzb0g5b/google-cloud-monitoring-dashboard-v1-java/proto-google-cloud-monitoring-dashboard-v1-java/src/**/*Names.java')] for pattern /\*
 \* Copyright \d{4} Google LLC
 \*
 \* Licensed under the Apache License, Version 2.0 \(the "License"\); you may not use this file except
 \* in compliance with the License. You may obtain a copy of the License at
 \*
 \* http://www.apache.org/licenses/LICENSE-2.0
 \*
 \* Unless required by applicable law or agreed to in writing, software distributed under the License
 \* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 \* or implied. See the License for the specific language governing permissions and limitations under
 \* the License.
 \*/
, maybe replacement is no longer needed?
2020-07-16 17:38:51,777 synthtool [WARNING] > No replacements made in [PosixPath('/tmpfs/tmp/tmpbbzb0g5b/google-cloud-monitoring-dashboard-v1-java/grpc-google-cloud-monitoring-dashboard-v1-java/src/**/*.java')] for pattern ^package (.*);, maybe replacement is no longer needed?
2020-07-16 17:38:51,778 synthtool [DEBUG] > Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/java-monitoring-dashboards/synth.py", line 35, in <module>
    bazel_target=f'//google/monitoring/dashboard/{version}:google-cloud-monitoring-dashboard-{version}-java',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 318, in bazel_library
    destination_name=destination_name,
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 193, in _common_generation
    required=True,
  File "/tmpfs/src/github/synthtool/synthtool/transforms.py", line 208, in move
    f"No files in sources {sources} were copied. Does the source "
synthtool.transforms.MissingSourceError: No files in sources [PosixPath('/tmpfs/tmp/tmpbbzb0g5b/google-cloud-monitoring-dashboard-v1-java/gapic-google-cloud-monitoring-dashboard-v1-java/src')] were copied. Does the source contain files?
2020-07-16 17:38:51,824 autosynth [ERROR] > Synthesis failed
2020-07-16 17:38:51,824 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at bab0afc chore(deps): update dependency com.google.cloud:libraries-bom to v8.1.0 (#154)
2020-07-16 17:38:51,830 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-07-16 17:38:51,835 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 657, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 637, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 401, in synthesize_loop_single_pr
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Synthesis failed for java-monitoring-dashboards

Hello! Autosynth couldn't regenerate java-monitoring-dashboards. ๐Ÿ’”

Here's the output from running synth.py:

l_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 7))
  Downloading https://files.pythonhosted.org/packages/d6/b7/5050dc1769c8a93d3ec7c4bd55be161991c94b8b235f88bf7c764449e708/pypandoc-1.5.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmpfs/tmp/tmp9yurg5e1/setuptools-tmp/setuptools/__init__.py", line 6, in <module>
        import distutils.core
      File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/_distutils_hack/__init__.py", line 82, in create_module
        return importlib.import_module('._distutils', 'setuptools')
      File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/importlib/__init__.py", line 126, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
    ModuleNotFoundError: No module named 'setuptools._distutils'
    
    ----------------------------------------
 (  Cache entry deserialization failed, entry ignored
  Cache entry deserialization failed, entry ignored
  Cache entry deserialization failed, entry ignored
  Cache entry deserialization failed, entry ignored
  Cache entry deserialization failed, entry ignored
  Cache entry deserialization failed, entry ignored
  Cache entry deserialization failed, entry ignored
  Cache entry deserialization failed, entry ignored
Command "python setup.py egg_info" failed with error code 1 in /tmpfs/tmp/pip-build-gyhfnp_0/pypandoc/
)
ERROR: no such package '@gapic_generator_python_pip_deps//': pip_import failed: Collecting click==7.1.2 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/d2/3d/fa76db83bf75c4f8d338c2fd15c8d33fdd7ad23a9b5e57eb6c5de26b430e/click-7.1.2-py2.py3-none-any.whl (82kB)
  Saved ./click-7.1.2-py2.py3-none-any.whl
Collecting google-api-core==1.22.1 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 2))
  Downloading https://files.pythonhosted.org/packages/e0/2d/7c6c75013105e1d2b6eaa1bf18a56995be1dbc673c38885aea31136e9918/google_api_core-1.22.1-py2.py3-none-any.whl (91kB)
  Saved ./google_api_core-1.22.1-py2.py3-none-any.whl
Collecting googleapis-common-protos==1.52.0 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 3))
  Downloading https://files.pythonhosted.org/packages/03/74/3956721ea1eb4bcf7502a311fdaa60b85bd751de4e57d1943afe9b334141/googleapis_common_protos-1.52.0-py2.py3-none-any.whl (100kB)
  Saved ./googleapis_common_protos-1.52.0-py2.py3-none-any.whl
Collecting jinja2==2.11.2 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 4))
  Downloading https://files.pythonhosted.org/packages/30/9e/f663a2aa66a09d838042ae1a2c5659828bb9b41ea3a6efa20a20fd92b121/Jinja2-2.11.2-py2.py3-none-any.whl (125kB)
  Saved ./Jinja2-2.11.2-py2.py3-none-any.whl
Collecting MarkupSafe==1.1.1 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 5))
  Downloading https://files.pythonhosted.org/packages/b2/5f/23e0023be6bb885d00ffbefad2942bc51a620328ee910f64abe5a8d18dd1/MarkupSafe-1.1.1-cp36-cp36m-manylinux1_x86_64.whl
  Saved ./MarkupSafe-1.1.1-cp36-cp36m-manylinux1_x86_64.whl
Collecting protobuf==3.13.0 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 6))
  Downloading https://files.pythonhosted.org/packages/30/79/510974552cebff2ba04038544799450defe75e96ea5f1675dbf72cc8744f/protobuf-3.13.0-cp36-cp36m-manylinux1_x86_64.whl (1.3MB)
  Saved ./protobuf-3.13.0-cp36-cp36m-manylinux1_x86_64.whl
Collecting pypandoc==1.5 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 7))
  Downloading https://files.pythonhosted.org/packages/d6/b7/5050dc1769c8a93d3ec7c4bd55be161991c94b8b235f88bf7c764449e708/pypandoc-1.5.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmpfs/tmp/tmp9yurg5e1/setuptools-tmp/setuptools/__init__.py", line 6, in <module>
        import distutils.core
      File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/_distutils_hack/__init__.py", line 82, in create_module
        return importlib.import_module('._distutils', 'setuptools')
      File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/importlib/__init__.py", line 126, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
    ModuleNotFoundError: No module named 'setuptools._distutils'
    
    ----------------------------------------
 (  Cache entry deserialization failed, entry ignored
  Cache entry deserialization failed, entry ignored
  Cache entry deserialization failed, entry ignored
  Cache entry deserialization failed, entry ignored
  Cache entry deserialization failed, entry ignored
  Cache entry deserialization failed, entry ignored
  Cache entry deserialization failed, entry ignored
  Cache entry deserialization failed, entry ignored
Command "python setup.py egg_info" failed with error code 1 in /tmpfs/tmp/pip-build-gyhfnp_0/pypandoc/
)
INFO: Elapsed time: 21.802s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
FAILED: Build did NOT complete successfully (0 packages loaded)

Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/java-monitoring-dashboards/synth.py", line 35, in <module>
    bazel_target=f'//google/monitoring/dashboard/{version}:google-cloud-monitoring-dashboard-{version}-java',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 298, in bazel_library
    library = gapic.java_library(service=service, version=version, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 62, in java_library
    service, version, "java", tar_strip_components=0, **kwargs
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 183, in _generate_code
    shell.run(bazel_run_args)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/monitoring/dashboard/v1:google-cloud-monitoring-dashboard-v1-java']' returned non-zero exit status 1.
2020-08-30 14:58:28,349 autosynth [ERROR] > Synthesis failed
2020-08-30 14:58:28,349 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 7fab893 chore: release 1.0.1-SNAPSHOT (#165)
2020-08-30 14:58:28,355 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-08-30 14:58:28,361 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 690, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 539, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 670, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Dependency Dashboard

This issue contains a list of Renovate updates and their statuses.

This repository currently has no open or pending branches.


  • Check this box to trigger a request for Renovate to run again on this repository

Synthesis failed for java-monitoring-dashboards

Hello! Autosynth couldn't regenerate java-monitoring-dashboards. ๐Ÿ’”

Here's the output from running synth.py:

Cloning into 'working_repo'...
Switched to a new branch 'autosynth'
Cloning into '/tmpfs/tmp/tmp05seqglv/googleapis'...
Cloning into '/tmpfs/tmp/tmp05seqglv/synthtool'...
Switched to branch 'autosynth-self'
Note: checking out '21f84d709765887ca9ed4f98c0ea1ebed6c0e194'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 21f84d7 chore(deps): update dependency com.google.cloud:libraries-bom to v5.3.0 (#104)
Note: checking out 'b21bc9b46e3263cd4ebe50f60c61589e3fe797f2'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at b21bc9b4 chore: set Ruby namespace in proto options
Note: checking out 'f8a9933e5e98202b04ef427f28d1d79221190fa4'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at f8a9933 chore(java): allow overriding the versioning section of the Java README (#495)
Switched to a new branch 'autosynth-self-2'
2020-04-30 14:00:30 [INFO] Running synthtool
2020-04-30 14:00:30 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 183, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 142, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 109, in _get_module_details
    __import__(pkg_name)
  File "/tmpfs/src/github/synthtool/synthtool/__init__.py", line 21, in <module>
    from synthtool import update_check
  File "/tmpfs/src/github/synthtool/synthtool/update_check.py", line 19, in <module>
    import packaging.version
ModuleNotFoundError: No module named 'packaging'
2020-04-30 14:00:31 [ERROR] Synthesis failed
HEAD is now at 21f84d7 chore(deps): update dependency com.google.cloud:libraries-bom to v5.3.0 (#104)
Switched to branch 'autosynth-self'
Note: checking out '21f84d709765887ca9ed4f98c0ea1ebed6c0e194'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 21f84d7 chore(deps): update dependency com.google.cloud:libraries-bom to v5.3.0 (#104)
Previous HEAD position was b21bc9b4 chore: set Ruby namespace in proto options
HEAD is now at 7e1c7603 Add an OAuth scope annotation in build_service proto file
Previous HEAD position was f8a9933 chore(java): allow overriding the versioning section of the Java README (#495)
HEAD is now at 6b685a2 fix: synthtool path (#515)
Switched to a new branch 'autosynth-73'
2020-04-30 14:00:31 [INFO] Running synthtool
2020-04-30 14:00:31 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 183, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 142, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 109, in _get_module_details
    __import__(pkg_name)
  File "/tmpfs/src/github/synthtool/synthtool/__init__.py", line 21, in <module>
    from synthtool import update_check
  File "/tmpfs/src/github/synthtool/synthtool/update_check.py", line 19, in <module>
    import packaging.version
ModuleNotFoundError: No module named 'packaging'
2020-04-30 14:00:31 [ERROR] Synthesis failed
HEAD is now at 21f84d7 chore(deps): update dependency com.google.cloud:libraries-bom to v5.3.0 (#104)
Switched to branch 'autosynth'
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 576, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 457, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 566, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 352, in synthesize_loop
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 362, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 115, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Dependency Dashboard

This issue contains a list of Renovate updates and their statuses.

This repository currently has no open or pending branches.


  • Check this box to trigger a request for Renovate to run again on this repository

Dependency Dashboard

This issue contains a list of Renovate updates and their statuses.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.


  • Check this box to trigger a request for Renovate to run again on this repository

Your .repo-metadata.json file has a problem ๐Ÿค’

You have a problem with your .repo-metadata.json file:

Result of scan ๐Ÿ“ˆ:

  • api_shortname 'monitoring-dashboards' invalid in .repo-metadata.json

โ˜๏ธ Once you address these problems, you can close this issue.

Need help?

  • Schema definition: lists valid options for each field.
  • API index: for gRPC libraries api_shortname should match the subdomain of an API's hostName.
  • Reach out to go/github-automation if you have any questions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.