redpanda-connect-yandex-metrika

command module
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

README

Redpanda Connect for Yandex.Metrika API

Redpanda connect plugins to fetch data from the Yandex.Metrika API.

Build

Finally, build your custom main func:

go install github.com/artemklevtsov/redpanda-connect-yandex-metrika@latest

Alternatively build it as a Docker image with:

git clone https://github.com/artemklevtsov/redpanda-connect-yandex-metrika
cd redpanda-connect-yandex-metrika
docker build -t redpanda-connect-yandex-metrika .

Run

input:
  yandex_metrika_stat_table:
    ids:
      - 44147844
    metrics:
      - ym:s:users
      - ym:s:visits
    dimensions:
      - ym:s:date
      - ym:s:lastTrafficSource
    sort:
      - ym:s:date
      - ym:s:lastTrafficSource
    date1: 2025-02-01
    date2: 2025-02-28
    # filters: ym:s:lastTrafficSource=='direct'
    # filters: ym:s:date=='2025-02-03'
    format_keys: true

output:
  stdout: {}

And you can run it like this:

redpanda-connect-yandex-metrika run ./connect.yaml

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL