Samples¶
The runnable source and setup instructions remain in the repository. Use this page to find the sample that matches your scenario.
| Scenario | Sample |
|---|---|
| Process blobs using an authenticated Azure Storage client | Blob trigger |
| Export telemetry to Azure Monitor through the embedded collector | Collector to Azure Monitor |
| Process changes from an Azure Cosmos DB container | Cosmos DB trigger |
| Respond to events delivered through Azure Event Grid | Event Grid trigger |
| Process batches of events from Azure Event Hubs | Event Hubs trigger |
| Stream HTTP responses from a function | HTTP streaming |
Handle HTTP requests with Go's standard net/http types |
HTTP trigger |
| Add reusable behavior around function invocations | Middleware |
| Emit distributed traces with OpenTelemetry | OpenTelemetry tracing |
| Process messages from Azure Queue Storage | Queue Storage trigger |
| Process messages from an Azure Service Bus queue | Service Bus queue trigger |
| Process messages from an Azure Service Bus topic subscription | Service Bus topic trigger |
| Respond to row changes tracked by Azure SQL | SQL trigger |
| Run a function on a schedule | Timer trigger |