<!--
  Copyright 2023 The Go Authors. All rights reserved.
  Use of this source code is governed by a BSD-style
  license that can be found in the LICENSE file.
-->

{{template "base" .}}

{{define "title"}}Go Telemetry{{end}}

{{define "content"}}
<main id="main">
  <h1>Go Telemetry</h1>
  <section>
    <h2>Overview</h2>
    <p>
    Go Telemetry is a way for Go toolchain programs to collect data about their
    performance and usage. Uploaded data is used to help improve the Go
    toolchain and related tools. Go Telemetry is not built into users'
    binaries. Learn more about Go telemetry at
    <a href="https://go.dev/doc/telemetry">go.dev/doc/telemetry</a>.
    </p>

    <p>
    Users who have opted in will upload an approved subset of telemetry
    data approximately once a week. This subset is determined by the current
    <a href="/config">upload configuration</a>.
    </p>

    <p>
    For privacy information about this service, see
    <a href="/privacy">telemetry.go.dev/privacy</a>.
    </p>
  </section>
  <section>
    <h2>Charts</h2>
    <p>View charts for telemetry data.</p>
    <ul style="column-count: auto; column-width: 10rem">
    {{range .Charts}}
      <li><a href="{{.URL}}">{{.Text}}</a></li>
    {{end}}
    </ul>
  </section>
  <section>
    <h2>Reports</h2>
    <p>Download telemetry reports.</p>
    <ul style="column-count: auto; column-width: 10rem">
    {{range .Reports}}
      <li><a href="{{.URL}}">{{.Text}}</a></li>
    {{end}}
    </ul>
  </section>
</main>
{{end}}
