<commit_before>///// @scratch /configuration/config.js/1
// == Configuration
// config.js is where you will find the core Grafana configuration. This file contains parameter that
// must be set before Grafana is run for the first time.
///
define(['settings'], function (Settings) {
    return new Settings({
        datasources: {
            graphite: {
                type: "graphite",
                url: "http://localhost:9100",
                default: true
            }
        },
        default_route: '/dashboard/file/default.json',
        elasticsearch: "http://localhost:9200",
        grafana_index: "grafana-dash",
        timezoneOffset: null,
        unsaved_changes_warning: true,
        playlist_timespan: "1m",
        plugins: {
            panels: []
        }
    });
});<commit_msg>Grafana config: Added dynamic host (expect it to be the same as grafana)<commit_after>///// @scratch /configuration/config.js/1
// == Configuration
// config.js is where you will find the core Grafana configuration. This file contains parameter that
// must be set before Grafana is run for the first time.
///
define(['settings'], function (Settings) {
    var hostName = location.hostname;

    return new Settings({
        datasources: {
            graphite: {
                type: "graphite",
                url: "http://" + hostName + ":9100",
                default: true
            }
        },
        default_route: '/dashboard/file/default.json',
        elasticsearch: "http://" + hostName + ":9200",
        grafana_index: "grafana-dash",
        timezoneOffset: null,
        unsaved_changes_warning: true,
        playlist_timespan: "1m",
        plugins: {
            panels: []
        }
    });
});
{'fraction_non_alphanumeric': 0.12240184757505773, 'fraction_numerical': 0.011547344110854504, 'mean_word_length': 1.9930915371329878, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2477797', 'n_tokens_mistral': 484, 'n_tokens_neox': 473, 'n_words': 135}