storebrand / target-mssql

Singer.io compatible Target for SQL Server. Created with the Meltano SDK.
Apache License 2.0
3 stars 17 forks source link

Output `counter` metrics #40

Open ReubenFrankel opened 3 months ago

ReubenFrankel commented 3 months ago

Adds Singer counter metrics:

2024-06-18 14:18:56,850 | INFO | singer_sdk.metrics | INFO METRIC: {"metric_type": "counter", "metric": "record_count", "value": 229, "tags": {"stream": "#stream_auth0_users"}} cmd_type=elb consumer=True name=target-mssql producer=False stdio=stderr string_id=target-mssql
2024-06-18 14:18:56,851 | INFO | target-mssql | Merging data from temp table to stream_auth0_users cmd_type=elb consumer=True name=target-mssql producer=False stdio=stderr string_id=target-mssql
2024-06-18 14:18:57,283 | INFO | singer_sdk.metrics | INFO METRIC: {"metric_type": "counter", "metric": "record_count", "value": 64, "tags": {"stream": "#stream_auth0_clients"}} cmd_type=elb consumer=True name=target-mssql producer=False stdio=stderr string_id=target-mssql
2024-06-18 14:18:57,284 | INFO | target-mssql | Merging data from temp table to stream_auth0_clients cmd_type=elb consumer=True name=target-mssql producer=False stdio=stderr string_id=target-mssql
2024-06-18 14:19:11,242 | INFO | singer_sdk.metrics | INFO METRIC: {"metric_type": "counter", "metric": "record_count", "value": 404, "tags": {"stream": "#stream_auth0_logs"}} cmd_type=elb consumer=True name=target-mssql producer=False stdio=stderr string_id=target-mssql