Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deprecated NewBuildInfoCollector API #1000

Merged
merged 2 commits into from Mar 17, 2022
Merged

Fix deprecated NewBuildInfoCollector API #1000

merged 2 commits into from Mar 17, 2022

Commits on Mar 16, 2022

  1. Fix deprecated NewBuildInfoCollector API

    Update `examples/random/main.go`:
      `prometheus.NewBuildInfoCollector` is deprecated. Use `collectors.NewBuildInfoCollector` instead.
    
    Signed-off-by: alissa-tung <alissa-tung@outlook.com>
    alissa-tung committed Mar 16, 2022
    Copy the full SHA
    b05177a View commit details
    Browse the repository at this point in the history
  2. Update Dockerfile example

    Signed-off-by: alissa-tung <alissa-tung@outlook.com>
    
    Co-authored-by: Cruise_Hua <zlh429375251@qq.com>
    alissa-tung and zestloveheart committed Mar 16, 2022
    Copy the full SHA
    ffd6362 View commit details
    Browse the repository at this point in the history