This document describes Developer Connect insights and what benefits insights can provide.
Developer Connect insights let you diagnose problems with your applications that might cause outages, and thus help you remediate those problems.
Developer Connect insights are log entries from deployment events, sent from Developer Connect to Cloud Logging, to be consumed by Gemini Cloud Assist.
These insights provide Gemini Cloud Assist with information about application runtimes, artifacts deployed to those runtimes, the source files and dependencies used to build those artifacts.
How does Developer Connect insights work?
Developer Connect Insights does the following:
- When outages occur, Developer Connect insights can decrease the time it takes to discover the root cause and to recover
- When there are problems with your running application in production, Developer Connect insights can help you identify root causes and quickly implement fixes
To make this happen, Developer Connect insights maps the relationships among the following components of your software development lifecycle (SDLC):
- Application runtime environments
- Application artifacts deployed to those runtimes
- Build provenance
Developer Connect insights uses these relationships to aggregate relevant events from the SDLC and uses those relationships as context to help you solve problems and make decisions. Developer Connect insights logs these events to Cloud Logging.
How can I use Developer Connect insights?
The following are some examples of information you can get from Developer Connect insights.
When outages and production problems occur, SREs can decrease the time it takes to discover the root cause and recover from the outage by getting answers to questions like these:
What changed for
my-app
inus-east1
since Oct 10, 2024 10:10:10 EST?Which artifacts were deployed, and when?
When were the artifacts built? From which source, and from which commits?
What deployments might have caused the production issue we're seeing?
Which artifacts, deployed to which application runtimes, have been affected by a deployment?
What do I need in order to use Developer Connect insights?
Developer Connect insights requires the following Google Cloud products and tools:
An App Hub application
You need either an App Hub app-enabled folder, or host project. And you must create an App Hub application.
Developer Connect
You need to enable the Developer Connect API.
Cloud Build
In order to have provenance information in your logs, you must use Cloud Build, the build must be initiated using a trigger, and the build process must generate provenance.
Artifact Registry
In order to have provenance information in your logs, artifacts generated by your build process must be stored in Artifact Registry.
Gemini Cloud Assist
You can enable Gemini Cloud Assist to use Developer Connect insights with Gemini Cloud Assist investigations. Developer Connect insights adds application deployment events to the Gemini Cloud Assist investigation context.
What runtime environments does Developer Connect insights support
Developer Connect insights supports Google Kubernetes Engine only.
What's next
- Configure Developer Connect insights
- Learn how to use Developer Connect insights