Skip to content

Add monitoring url's in the report stage #10

Open
@casabre

Description

@casabre

It should be possible to decorate a user function which receives testcase start and stop datetimes in order to create a custom monitoring url(s) dictionary.

For instance

import time
from datetime import datetime

@monitoring_urls
def create_my_urls(start: datetime, stop: datetime) -> dict:
    return { "grafana": f"x.b.com/dashboard?from={time.mktime(start.timetuple())}&to={time.mktime(stop.timetuple())}"

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions