Module: Flydata

Includes:
Heroku
Defined in:
lib/flydata/command/sync.rb,
lib/flydata.rb,
lib/flydata/cli.rb,
lib/flydata/cron.rb,
lib/flydata/agent.rb,
lib/flydata/errors.rb,
lib/flydata/heroku.rb,
lib/flydata/helpers.rb,
lib/flydata/api/base.rb,
lib/flydata/api/agent.rb,
lib/flydata/api_client.rb,
lib/flydata/util/shell.rb,
lib/flydata/credentials.rb,
lib/flydata/log_monitor.rb,
lib/flydata/command/base.rb,
lib/flydata/command/conf.rb,
lib/flydata/command/stop.rb,
lib/flydata/api/data_port.rb,
lib/flydata/command/login.rb,
lib/flydata/command/mysql.rb,
lib/flydata/command/setup.rb,
lib/flydata/command/start.rb,
lib/flydata/helper/server.rb,
lib/flydata/helper/worker.rb,
lib/flydata/api/data_entry.rb,
lib/flydata/command/helper.rb,
lib/flydata/command/sender.rb,
lib/flydata/command/status.rb,
lib/flydata/util/encryptor.rb,
lib/flydata/util/file_util.rb,
lib/flydata/command/crontab.rb,
lib/flydata/command/encrypt.rb,
lib/flydata/command/restart.rb,
lib/flydata/command/routine.rb,
lib/flydata/command/version.rb,
lib/flydata/mysql/table_ddl.rb,
lib/flydata/command/kill_all.rb,
lib/flydata/command_loggable.rb,
lib/flydata/helper/scheduler.rb,
lib/flydata/output/forwarder.rb,
lib/flydata/command/setlogdel.rb,
lib/flydata/sync_file_manager.rb,
lib/flydata/helper/base_action.rb,
lib/flydata/compatibility_check.rb,
lib/flydata/api/redshift_cluster.rb,
lib/flydata/helper/config_parser.rb,
lib/flydata/mysql/binlog_position.rb,
lib/flydata/helper/action/send_logs.rb,
lib/flydata/helper/action_ownership.rb,
lib/flydata/heroku/instance_methods.rb,
lib/flydata/helper/action/stop_agent.rb,
lib/flydata/parser/mysql/dump_parser.rb,
lib/flydata/command/exclusive_runnable.rb,
lib/flydata/helper/action/agent_action.rb,
lib/flydata/helper/action/restart_agent.rb,
lib/flydata/heroku/configuration_methods.rb,
lib/flydata/fluent-plugins/mysql/table_meta.rb,
lib/flydata/helper/action_ownership_channel.rb,
lib/flydata/preference/data_entry_preference.rb,
lib/flydata/helper/action/check_remote_actions.rb

Overview

require 'ruby-prof'

Defined Under Namespace

Modules: Api, Command, CommandLoggable, Helper, Helpers, Heroku, Mysql, Output, Parser, Preference, Util Classes: Agent, AgentCompatibilityCheck, AgentError, ApiClient, Cli, CompatibilityCheck, Credentials, Cron, DumpParseError, LogMonitor, MysqlCompatibilityCheck, ServerDataProcessingTimeout, SyncFileManager

Constant Summary collapse

FLYDATA_DEBUG =
!!(ENV['FLYDATA_DEBUG'])
FLYDATA_HOME =
ENV['FLYDATA_HOME'] || "#{ENV['HOME']}/.flydata"
FLYDATA_GEM_HOME =
File.expand_path(File.join(File.dirname(__FILE__), '..'))
FLYDATA_GEM_BIN =
File.join(FLYDATA_GEM_HOME, 'bin')
FLYDATA_TMPL_DIR =
File.join(FLYDATA_GEM_HOME, 'tmpl')
FLYDATA_FLUENT_PLUGIN_DIR =
File.join(FLYDATA_GEM_HOME, 'lib', 'flydata', 'fluent-plugins')
FLYDATA_SERVERINFO =
File.join(FLYDATA_GEM_BIN, 'serverinfo')
FLYDATA_LOG =
File.join(FLYDATA_HOME, 'flydata.log')
FLYDATA_CONF =
File.join(FLYDATA_HOME, 'flydata.conf')
FLYDATA_LOCK =
File.join(FLYDATA_HOME, 'flydata.lock')
FLYDATA_HELPER_HOME =
File.join(FLYDATA_HOME, 'helper')
VERSION_PATH =
File.join(FLYDATA_GEM_HOME, 'VERSION')
FLYDATA_API_HOST =
ENV['FLYDATA_API_HOST'] || 'https://flydata.co'