Skip to content

Adding support for publishing resource attributes in fluent logs. - #1

Open
bnavarma-ms wants to merge 3 commits into
mainfrom
fluent_resource_support
Open

Adding support for publishing resource attributes in fluent logs.#1
bnavarma-ms wants to merge 3 commits into
mainfrom
fluent_resource_support

Conversation

@bnavarma-ms

Copy link
Copy Markdown
Owner

No description provided.

Comment thread exporters/fluentd/src/log/recordable.cc Outdated
}


#ifdef ENABLE_FLUENT_RESOURCE_PUBLISH

@lalitb lalitb Dec 4, 2024

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

nit - OPENTELEMETRY_ENABLE_FLUENT_RESOURCE_PUBLISH. Also add cmake option to enable this macro during build.

* @param Resource the resource to set
*/
void SetResource(const opentelemetry::sdk::resource::Resource
#ifdef ENABLE_FLUENT_RESOURCE_PUBLISH

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

nit: add a prefix like OPENTELEMETRY_ to avoid potential conflict?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Also add a suffix like _EXPERIMEMENTAL.

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.

3 participants