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

[tracegen/cmd] support add additional resource attributes. #11145

Merged
merged 8 commits into from
Jun 28, 2022

Conversation

JaredTan95
Copy link
Member

Signed-off-by: jian.tan [email protected]

Description:

refer the implementation of otlp-headers :

tracegen -otlp-insecure -duration 5s -otlp-attributes key1=value1 -otlp-attributes key2=value2

Link to tracking Issue:
#11144

Testing:

Documentation:

Copy link
Member

@TylerHelmuth TylerHelmuth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@mx-psi mx-psi linked an issue Jun 21, 2022 that may be closed by this pull request
Signed-off-by: jian.tan <[email protected]>
Signed-off-by: jian.tan <[email protected]>
Signed-off-by: jian.tan <[email protected]>

# Conflicts:
#	CHANGELOG.md
Signed-off-by: jian.tan <[email protected]>
Signed-off-by: jian.tan <[email protected]>
Copy link
Member

@mx-psi mx-psi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just a few doc updates after the quotes thing

tracegen/internal/tracegen/config.go Outdated Show resolved Hide resolved
tracegen/main.go Outdated Show resolved Hide resolved
JaredTan95 and others added 2 commits June 28, 2022 08:50
@mx-psi mx-psi merged commit e11994d into open-telemetry:main Jun 28, 2022
@mx-psi
Copy link
Member

mx-psi commented Jun 28, 2022

Thanks @JaredTan95 for contributing! :)

@JaredTan95 JaredTan95 deleted the tracegen_add_attributes branch June 29, 2022 01:35
atoulme pushed a commit to atoulme/opentelemetry-collector-contrib that referenced this pull request Jul 16, 2022
…metry#11145)

* support add additional resource attributes in tracegen.

Signed-off-by: jian.tan <[email protected]>

* update

Signed-off-by: jian.tan <[email protected]>

* update

Signed-off-by: jian.tan <[email protected]>

* add changelog

Signed-off-by: jian.tan <[email protected]>

# Conflicts:
#	CHANGELOG.md

* fix fmt.

Signed-off-by: jian.tan <[email protected]>

* update logical

Signed-off-by: jian.tan <[email protected]>

* Update tracegen/internal/tracegen/config.go

Co-authored-by: Pablo Baeyens <[email protected]>

* Update tracegen/main.go

Co-authored-by: Pablo Baeyens <[email protected]>

Co-authored-by: Pablo Baeyens <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[tracegen/cmd] support add additional resource attributes in tracegen
4 participants