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

snowflake receiver not being updated by mdatagen #17978

Closed
hughesjj opened this issue Jan 23, 2023 · 1 comment
Closed

snowflake receiver not being updated by mdatagen #17978

hughesjj opened this issue Jan 23, 2023 · 1 comment
Labels
bug Something isn't working priority:p2 Medium receiver/snowflake Snowflake receiver

Comments

@hughesjj
Copy link
Contributor

Component(s)

No response

What happened?

Description

After adding ResourceAttributeSettings in 16736 I don't see the change reflected in grep -L ResourceAttributesSetting **/*generated_metrics.go after running make generate.

TODO check if we're simply missing that file which indicates we should generate in this dir, and fix/update it when we can.

Steps to Reproduce

make generate && grep -L ResourceAttributesSetting **/*generated_metrics.go should output

❯ grep -L ResourceAttributesSetting **/*generated_metrics.go
receiver/snowflakereceiver/internal/metadata/generated_metrics.go

Collector version

latest

Environment information

Environment

OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")

OpenTelemetry Collector configuration

No response

Log output

No response

Additional context

No response

@hughesjj hughesjj added bug Something isn't working needs triage New item requiring triage labels Jan 23, 2023
@dmitryax dmitryax added priority:p2 Medium receiver/snowflake Snowflake receiver and removed needs triage New item requiring triage labels Jan 24, 2023
@dmitryax
Copy link
Member

dmitryax commented Jan 24, 2023

The problem is that the snowflake receiver misses a file (usually doc.go) with //go:generate mdatagen metadata.yaml pragma.

cc @shalper2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority:p2 Medium receiver/snowflake Snowflake receiver
Projects
None yet
Development

No branches or pull requests

2 participants