Giter Club home page Giter Club logo

Comments (8)

kakkoyun avatar kakkoyun commented on May 24, 2024 1

It is coming from client_golang:

func NewBuildInfoCollector() Collector {
	path, version, sum := "unknown", "unknown", "unknown"
	if bi, ok := debug.ReadBuildInfo(); ok {
		path = bi.Main.Path
		version = bi.Main.Version
		sum = bi.Main.Sum
	}
	c := &selfCollector{MustNewConstMetric(
		NewDesc(
			"go_build_info",
			"Build information about the main Go module.",
			nil, Labels{"path": path, "version": version, "checksum": sum},
		),
		GaugeValue, 1)}
	c.init(c.self)
	return c
}

from parca.

kakkoyun avatar kakkoyun commented on May 24, 2024 1

Ok you beat me to it.

from parca.

jnsgruk avatar jnsgruk commented on May 24, 2024 1

I don't have a workaround at the moment. My window for fun ran out today ;-)

from parca.

kakkoyun avatar kakkoyun commented on May 24, 2024 1

I'll try to take a look at it over the weekend in my fun time :D

from parca.

jnsgruk avatar jnsgruk commented on May 24, 2024

Reading a bit more about how this is populated from: Hmm, I'm not sure I know how to get around this: https://pkg.go.dev/github.com/rb-go/promcolls/buildinfo

I'm not sure there is a trivial way to fix this given how Parca is built.

from parca.

kakkoyun avatar kakkoyun commented on May 24, 2024

Reading a bit more about how this is populated from: Hmm, I'm not sure I know how to get around this: https://pkg.go.dev/github.com/rb-go/promcolls/buildinfo

I'm not sure there is a trivial way to fix this given how Parca is built.

This is not a package we actually use 🤔

from parca.

jnsgruk avatar jnsgruk commented on May 24, 2024

Ah, okay, I think I misunderstood intitally. Must've got my wires crossed in Googling...!

Looking back at this line it looks like it actually goes back to here.

Looks like there is an ongoing issue here: golang/go#29228

from parca.

kakkoyun avatar kakkoyun commented on May 24, 2024

@jnsgruk If you have a workaround already, you can send a PR to client_golang until it is fixed in Go. I can review it (I'm a maintainer) and ensure it's shipped before the next release of client_golang (which should be in a couple of days).

from parca.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.