Skip to content

profcheck: Mixed signals #91

@javierhonduco

Description

@javierhonduco

Hi all! First of all congrats and thank you for reaching Alpha! 🎉 . I started to integrate the OTel format in some of the tools I am working on that used pprof/custom formats. I really love that this validator exists! I just ran it on the first otel profile I produced and got a slightly confusing output:

$ nix run .#profcheck profile.otel.pb |& grep "profile.otel.pb:"
profile.otel.pb: conformance checks failed: resource_profiles[0]: scope_profiles[0]: profile[0]: sample[0]: attribute_indices: [3].key_strindex: duplicate key "pid", previously seen at [0].key_strindex
profile.otel.pb: conformance checks passed

Is this expected? I have checked the code and perhaps this line should only run if there are no issues?

fmt.Printf("%s: conformance checks passed\n", inputPath)

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions