Skip to content
This repository was archived by the owner on Jan 23, 2024. It is now read-only.

Conversation

@jalvz
Copy link
Contributor

@jalvz jalvz commented Oct 21, 2019

Fixes #436

@jalvz jalvz requested a review from graphaelli October 21, 2019 11:41
@jalvz jalvz force-pushed the python-agent-config-test branch from 763558d to fa55e41 Compare October 21, 2019 13:28


@contextmanager
def remote_config(url, sampling_rate=1.0):
Copy link
Member

Choose a reason for hiding this comment

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

since url is used a lot I think it should be more descriptive, how about kibana_url ?

-E, setup.template.settings.index.number_of_shards=1, -E, setup.template.settings.index.refresh_interval=1ms,
-E, monitoring.elasticsearch=true, -E, monitoring.enabled=true,
-E, apm-server.kibana.enabled=true, -E, 'apm-server.kibana.host=kibana:5601',
-E, apm-server.kibana.enabled=true, -E, apm-server.agent.config.cache.expiration=2s, -E, 'apm-server.kibana.host=kibana:5601',
Copy link
Member

Choose a reason for hiding this comment

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

any reason the expiry can't be even shorter?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

im fine with 1s, since this is going to be used for opbeans and everything else I didn't want it to be too noisy

jalvz and others added 2 commits October 22, 2019 12:35
Co-Authored-By: Ivan Fernandez Calvo <kuisathaverat@users.noreply.github.com>
@jalvz jalvz merged commit 609f5d9 into elastic:master Oct 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add automated test for agents CM

3 participants