Skip to content

Conversation

@kirrg001
Copy link
Contributor

@kirrg001 kirrg001 commented Sep 17, 2025

CollectorConfig should include AgentConfig.
AgentOpts will be removed and moved into CollectorConfig.
This PR just moves the Types to Collector.

From #2010

@kirrg001 kirrg001 requested a review from a team as a code owner September 17, 2025 19:04
@kirrg001 kirrg001 force-pushed the refactor-agent-config-types branch from cfb4855 to 826553d Compare September 17, 2025 19:05
@@ -1,4 +1,21 @@
import { GenericLogger } from '@instana/core/src/core';
import { IgnoreEndpoints, Disable } from '@instana/core/src/config/types';
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Moving AgentConfig into a ts declaration file requires to move its dependencies to other types too. But its so much better to use the types files anyway.

@@ -0,0 +1,16 @@
export interface IgnoreEndpoints {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is our new config types file. A good beginning for a better config module

@kirrg001 kirrg001 force-pushed the refactor-agent-config-types branch from b0c5833 to c9c3571 Compare September 18, 2025 09:47
@kirrg001 kirrg001 force-pushed the refactor-agent-config-types branch from c9c3571 to 5a346aa Compare September 18, 2025 10:18
@kirrg001 kirrg001 force-pushed the refactor-agent-config-types branch from 5a346aa to b4ee572 Compare September 18, 2025 10:38
@kirrg001 kirrg001 merged commit ae461ff into main Sep 18, 2025
1 check passed
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