Skip to content

[py][utils] Import missing utils modules from Agent 5#310

Merged
masci merged 1 commit intomasterfrom
olivielpeau/port-python-utils
Jun 16, 2017
Merged

[py][utils] Import missing utils modules from Agent 5#310
masci merged 1 commit intomasterfrom
olivielpeau/port-python-utils

Conversation

@olivielpeau
Copy link
Copy Markdown
Member

What does this PR do?

Imports missing python utils modules from Agent 5 that are used by existing integrations-core
checks.

Motivation

Ability to run almost all integrations-core checks in Agent 6.

Additional Notes

These utils modules stand on their own and have no dependency on the core agent, so just copying them from the Agent 5 is fine.

Unless I've missed something (which is likely), this should hopefully allow all integrations-core checks to run, except:

  • docker_daemon (heavily depends on core-agent-provided features)
  • kubernetes (heavily depends on core-agent-provided features)
  • kubernetes_state (heavily depends on core-agent-provided features)
  • ntp (dep on utils.ntp_util, I haven't added it because the check is a native go check now)

Uses the utils.timer module from DataDog/dd-agent#3391

Only imported the modules that are used by existing integrations-core
checks.
@masci masci merged commit 678e6ef into master Jun 16, 2017
@masci masci deleted the olivielpeau/port-python-utils branch June 16, 2017 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants