Benign go Download

github.com/grafana/alloy/collector v0.0.0-20260710231704-a473efe2b676

Basename is uppercase README.mdDeclares a command for explicit go generate
SHA-25698c7bf4dd77c44f8eb654582446caad466447cdd91aa88f221f60c5cd071bd2a
MaleculeH₂(Cm₃F)

Evidence

Reference guide has multiple section headings README.md · lines 1–7
1# Alloy Collector Distro
2
3This directory contains the build configuration and generated code for the **Alloy Collector Distro**, an OpenTelemetry Collector distribution that embeds Alloy's OTel components and integrates with the Alloy CLI. This also means that it contains the generated build root of the Alloy project.
4
5## Overview
6
7The Alloy Collector Distro is built using the [OpenTelemetry Collector Builder (OCB)](https://github.com/open-telemetry/opentelemetry-collector-builder) tool. Components are defined in an OCB configuration file, and the build process …
Markdown-style heading precedes a code fence README.md · lines 7–14
7:261… code, including the `main.go` file and `go.mod` dependencies.
8
9## Directory Structure
10
11```
12collector/
13├── builder-config.yaml # OCB configuration file (source)
14├── generate.go # Entry …
Go HTTP router dependency in go.mod go.mod · lines 529–534
529 github.com/gophercloud/gophercloud v1.14.1 // indirect
530 github.com/gophercloud/gophercloud/v2 v2.12.0 // indirect
531 github.com/gorilla/mux v1.8.1 // indirect
532 github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 // indirect
533 github.com/gosnmp/gosnmp v1.43.2 // indirect
534 github.com/grafana/alloy-remote-config v0.0.12 // indirect
Imports google.golang.org/grpc package go.mod · lines 1015–1019
1015 go.opentelemetry.io/contrib/exporters/autoexport v0.64.0 // indirect
1016 go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux v0.45.0 // indirect
1017 go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.68.0 // indirect
1018 go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.69.0 // indirect
1019 go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.69.0 // indirect
imports os generator.go · lines 1–26
1package main
2
3import (
4 _ "embed"
5 "flag"
6 "fmt"
7 "log"
8 "os"
9 "path/filepath"
10 "regexp"
11 "strings"
12)
13
⋯5 lines
19)
20
21const fileHeader = "// GENERATED CODE: DO NOT EDIT\n\n"
22
23func main() {
24 log.Println("Generating Alloy OTel Collector main file...")
25 var path string
26 flag.StringVar(&path, "path", …

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.