Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

added DATA_COLLECTOR_ENABLED=true to the CI #384

Conversation

nelsonkopliku
Copy link
Member

This will enable data collection in DEMO

Copy link
Contributor

@arbulu89 arbulu89 left a comment

Choose a reason for hiding this comment

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

Just playing as devil's advocate, does something prevents us to completely enable the data collection?
I mean, is there any scenario where we don't want to have it? Or is it just play safe?

Copy link
Contributor

@rtorrero rtorrero left a comment

Choose a reason for hiding this comment

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

Wasn't aware of this way of setting an env-var for all the systemd units. Nice :-)

@rtorrero
Copy link
Contributor

Just playing as devil's advocate, does something prevents us to completely enable the data collection? I mean, is there any scenario where we don't want to have it? Or is it just play safe?

I wouldn't enable them by default; once we are able to remove consul we can also get rid of this variable ((unless I misunderstood something)

@nelsonkopliku
Copy link
Member Author

Just playing as devil's advocate, does something prevents us to completely enable the data collection?
I mean, is there any scenario where we don't want to have it? Or is it just play safe?

@arbulu89 Just playing it safe. It is also a way to experiment on feature flags on demo. Still in the process of learning

Wasn't aware of this way of setting an env-var for all the systemd units. Nice :-)

@rtorrero tanks!
@fabriziosestito and I didn't know either. But google does 😂

@fabriziosestito
Copy link
Member

fabriziosestito commented Oct 26, 2021

@rtorrero @arbulu89 it is a mix of both reasons, we want to play safe till we don't test it in our environment and we might ship them for good when we have enough confidence on how they work/system impact.

AKA that flag will be gone from every (or some) discovery loop once we decide to switch completely (or partially) to the new system.

@arbulu89
Copy link
Contributor

@rtorrero @arbulu89 it is a mix of both reasons, we want to play safe till we don't test it in our environment and we might ship them for good when we have enough confidence on how they work/system impact.

AKA that flag will be gone from every (or some) discovery loop once we decide to switch completely (or partially) to the new system.

Ok, playing safe, but not in the demo environment hehe
That's a bit contradictory to me, as I would say that the demo environment is a place where we should play safe if there is no 100% confidence in the current implementation. But well, go ahead. If you have all of these temporary pieces of code in mind to be deleted later.

@nelsonkopliku nelsonkopliku force-pushed the enable_data_collection_feature_flag branch from 0cc94d5 to b4a8bde Compare October 27, 2021 07:25
@fabriziosestito fabriziosestito merged commit 672a7e4 into trento-project:main Oct 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants