-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "[AMLII-2183] Logs From Integrations Rotation E2E Test and Yam… (
- Loading branch information
1 parent
d5f49d2
commit df69240
Showing
4 changed files
with
31 additions
and
147 deletions.
There are no files selected for viewing
31 changes: 0 additions & 31 deletions
31
...new-e2e/tests/agent-metrics-logs/log-agent/linux-log/integrations/fixtures/integration.py
This file was deleted.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
test/new-e2e/tests/agent-metrics-logs/log-agent/linux-log/integrations/fixtures/tenLogs.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
from datadog_checks.base import AgentCheck | ||
from datadog_checks.base.utils.time import get_timestamp | ||
|
||
|
||
class HelloCheck(AgentCheck): | ||
def check(self, instance): | ||
data = {} | ||
data['timestamp'] = get_timestamp() | ||
data['message'] = "Custom log message" | ||
data['ddtags'] = "env:dev,bar:foo" | ||
|
||
for _ in range(10): | ||
self.send_log(data) |
8 changes: 8 additions & 0 deletions
8
test/new-e2e/tests/agent-metrics-logs/log-agent/linux-log/integrations/fixtures/tenLogs.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
init_config: | ||
instances: | ||
- min_collection_interval: 1000 | ||
|
||
logs: | ||
- type: integration | ||
source: ten_logs_source | ||
service: ten_logs_service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters