Hello everyone! I'm facing the following issue: wh...
# community-support
r
Hello everyone! I'm facing the following issue: when trying locally the
monitor
command against my dev env everything looks good but when it runs from gitlab pipeline the slack messages are missing the owner attribute. Version between envs is the same and it was working good until a couple of weeks ago. Happy to add here any info you might think it would help to debug the issue...any ideas?
u
Hey there @Rodrigo Naspleda ! Are the owners hard coded or part of the gitlab runtime environment?
r
I've set the owners up in the dbt_project.yml file as described here: https://docs.elementary-data.com/oss/guides/alerts/alerts-configuration. But the weird thing is that the owners are correctly tagged when running in my local targetting dev environment. They are only missing when elementary monitor is triggered in the gitlab pipeline
o
@Rodrigo Naspleda that is bizarre, firstly can you make sure that the version of the following things are aligned between the environments; • python • dbt • dbt-adapter • elementary dbt package • edr also, can you share the dbt_project.yml file? or at least the owners portion of it?
r
@Ofek Weiss I'm using elementary 0.12.1 locally and this image for the gitlab pipeline: so I assume they should match. Couldn't find anything different there! Regarging dbt_project file, it looks like this:
Copy code
project_name:
        materialized: view
        incremental_strategy: "merge"
        +meta: 
            alert_suppression_interval: 120

        bronze:
            some_tool:
                enabled: true 
                schema: bronze_some_tool
                +tags: ["bronze","some_tool"]
                +meta:
                    owner: "@someone"
                    channel: slack-channel-for-observability
o
@Rodrigo Naspleda this is a far fetch, but can you try setting the owner as a list? (
owner: ["@someone"]
)
r
Ok, will try!
It didn't work 😕
Seems like it gets fixed upgrading both the edr and dbt package versions but couldn't find the root cause