Skip to content

Added datadog agent to Ansible (#104)#175

Open
ankoure wants to merge 1 commit intomainfrom
104-add-datadog-agent-to-instance
Open

Added datadog agent to Ansible (#104)#175
ankoure wants to merge 1 commit intomainfrom
104-add-datadog-agent-to-instance

Conversation

@ankoure
Copy link
Contributor

@ankoure ankoure commented Aug 17, 2025

Motivation

Adding the Datadog agent will heavily improve the tracking and detail of our monitoring per #104.

Changes

I updated the playbook.yml file based on the configuration found in gobble. I updated all references as appropriate. However I was unsure if we needed this datadog_check block? I don't think there's python but left it as a point of reference in case it needs to point at something else.

datadog_checks:
      python:
        logs:
          - type: file
            path: "/home/ubuntu/regional-rail-explorer/regional-rail-explorer.log"
            service: "regional-rail-explorer"
            source: python
            sourcecategory: sourcecode
          - type: file
            path: "/home/ubuntu/regional-rail-explorer/s3_upload.log"
            service: "regional-rail-explorer"
            source: python
            sourcecategory: sourcecode

Testing Instructions

I think I set up the Ansible extension in VScode correctly for linting but probably is worth someone with pre-existing experience doing a double-check.

@ankoure ankoure linked an issue Aug 17, 2025 that may be closed by this pull request
@github-actions github-actions bot added the ci/cd Affects or Updates CI/CD label Aug 17, 2025
@devinmatte
Copy link
Member

Totally wish this would work, but we currently are running into issues with the EC2 instance being too small to run a new build. So I would like to pause this until we can shrink the GTFS bundles we read into the explorer.

Once we can fix those issues then we can merge this

@nathan-weinberg
Copy link
Member

With #177 merged can this continue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/cd Affects or Updates CI/CD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Datadog Agent to instance

3 participants