redpanda-connect-yandex-metrika

module
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2025 License: Apache-2.0

README

Redpanda Connect for Yandex.Metrika API

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

Install

Build and Install binary:

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

Or download binary with:

curl -s https://i.jpillora.com/artemklevtsov/redpanda-connect-yandex-metrika@latest! | bash

Remove ! if you want to install to the current directory.

Alternatively pull a Docker image with:

docker pull ghcr.io/artemklevtsov/redpanda-connect-yandex-metrika@latest

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'

output:
  stdout: {}

And you can run it like this:

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

See also configs/ for the more examples.

See also

Documentation
Authorization
Reporting API
Logs API

Directories

Path Synopsis
cmd
docs-gen command
pkg
api

Jump to

Keyboard shortcuts

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