Skip to content

add config for logs export#43

Merged
varkey98 merged 1 commit intomainfrom
jacob
Sep 1, 2025
Merged

add config for logs export#43
varkey98 merged 1 commit intomainfrom
jacob

Conversation

@varkey98
Copy link
Copy Markdown
Contributor

No description provided.

)
c += fmt.Sprintf(" x.%s = %s(%s_value[rawVal])\n", fieldName, namedType.Name(), namedType.Name())
c += fmt.Sprintf(" } else if x.%s == %s(0) && defaultValues != nil && defaultValues.%s != %s(0) {\n", fieldName, fieldName, fieldName, fieldName)
c += fmt.Sprintf(" } else if x.%s == %s(0) && defaultValues != nil && defaultValues.%s != %s(0) {\n", fieldName, namedType.Name(), fieldName, namedType.Name())
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

fixing code gen for enums

Comment thread proto/ai/traceable/agent/config/v1/config.proto Outdated
Comment thread ENV_VARS.md Outdated
| TA_ENABLED | When `false`, disables the agent |
| TA_TELEMETRY_STARTUP_SPAN_ENABLED | When `true`, an internal span is created and exported when the agent is initialized and started. It's useful to denote when the application the agent is in started. |
| TA_TELEMETRY_METRICS_ENABLED | Whether to capture metrics or not. The metrics will be otel go metrics. See https://github.com/open-telemetry/opentelemetry-go/tree/main/metric |
| TA_TELEMETRY_LOGS_ENABLED | When true, logs from the agent will be exported to Traceable Platform Agent via Opentelemetry Logs pipeline. Reporting config is shared with the Traces pipeline. |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I guess this is not updated with your latest config?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Its updated, we dont generate env vars for enum fields in this code for some reason

@varkey98 varkey98 merged commit 06bd30e into main Sep 1, 2025
1 check passed
@varkey98 varkey98 deleted the jacob branch September 1, 2025 07:53
varkey98 added a commit that referenced this pull request Sep 1, 2025
varkey98 added a commit that referenced this pull request Sep 1, 2025
@varkey98 varkey98 restored the jacob branch September 21, 2025 04:23
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.

5 participants